aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-07-28 11:07:29 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-07-28 11:07:29 +0000
commit1b188024c85b135154405f78a2caef82317e550d (patch)
tree3b3af42e3030be1e402e712663a2b9f5c6a193f8 /lib
parenta6ddeaacdc9890f1422b64804fe876c56f1b4c69 (diff)
downloadlibfuse-1b188024c85b135154405f78a2caef82317e550d.tar.gz
fix
Diffstat (limited to 'lib')
-rw-r--r--lib/fuse.c4
-rw-r--r--lib/fuse_lowlevel.c2
-rw-r--r--lib/fuse_mt.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/fuse.c b/lib/fuse.c
index 0ee4ab4..a00ef1a 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -95,7 +95,7 @@ struct node {
struct fuse_dirhandle {
pthread_mutex_t lock;
struct fuse *fuse;
- unsigned char *contents;
+ char *contents;
int allocated;
unsigned len;
unsigned needlen;
@@ -1231,7 +1231,7 @@ static int fill_dir_common(struct fuse_dirhandle *dh, const char *name,
unsigned namelen = strlen(name);
unsigned entsize;
unsigned newlen;
- unsigned char *newptr;
+ char *newptr;
if (stat)
stbuf = *stat;
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 7f92d04..d875664 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -653,7 +653,7 @@ static void do_setxattr(fuse_req_t req, fuse_ino_t nodeid,
struct fuse_setxattr_in *arg)
{
char *name = PARAM(arg);
- unsigned char *value = name + strlen(name) + 1;
+ char *value = name + strlen(name) + 1;
if (req->f->op.setxattr)
req->f->op.setxattr(req, nodeid, name, value, arg->size,
diff --git a/lib/fuse_mt.c b/lib/fuse_mt.c
index c9d85a8..bbd0392 100644
--- a/lib/fuse_mt.c
+++ b/lib/fuse_mt.c
@@ -77,8 +77,8 @@ struct procdata {
static void mt_generic_proc(struct fuse_ll *f, struct fuse_cmd *cmd, void *data)
{
- (void) f;
struct procdata *pd = (struct procdata *) data;
+ (void) f;
pd->proc(pd->f, cmd, pd->data);
}