diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-07-28 11:07:29 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-07-28 11:07:29 +0000 |
commit | 1b188024c85b135154405f78a2caef82317e550d (patch) | |
tree | 3b3af42e3030be1e402e712663a2b9f5c6a193f8 /lib | |
parent | a6ddeaacdc9890f1422b64804fe876c56f1b4c69 (diff) | |
download | libfuse-1b188024c85b135154405f78a2caef82317e550d.tar.gz |
fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 4 | ||||
-rw-r--r-- | lib/fuse_lowlevel.c | 2 | ||||
-rw-r--r-- | lib/fuse_mt.c | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -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); } |