diff options
author | Sylvestre Gallon <syl@cvs.openbsd.org> | 2013-10-07 18:41:02 +0000 |
---|---|---|
committer | Sylvestre Gallon <syl@cvs.openbsd.org> | 2013-10-07 18:41:02 +0000 |
commit | edc1ff103d5ba755688e8b41409418d73262758e (patch) | |
tree | d7d76fd67fac0838baae085f483a0ea20640f998 /lib/libfuse/fuse_subr.c | |
parent | 92c152317e77b3bef9abbad238e92e8f940e5931 (diff) |
Fix some different signedness error. this commit make clang happier.
Thanks to Pedro Martelletto.
Diffstat (limited to 'lib/libfuse/fuse_subr.c')
-rw-r--r-- | lib/libfuse/fuse_subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libfuse/fuse_subr.c b/lib/libfuse/fuse_subr.c index 43d8039dcf4..0d40d4d1225 100644 --- a/lib/libfuse/fuse_subr.c +++ b/lib/libfuse/fuse_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_subr.c,v 1.4 2013/09/21 22:21:14 syl Exp $ */ +/* $OpenBSD: fuse_subr.c,v 1.5 2013/10/07 18:41:01 syl Exp $ */ /* * Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -81,10 +81,11 @@ set_vn(struct fuse *f, struct fuse_vnode *v) } struct fuse_vnode * -get_vn_by_name_and_parent(struct fuse *f, const char *path, ino_t parent) +get_vn_by_name_and_parent(struct fuse *f, uint8_t *xpath, ino_t parent) { struct fuse_vn_head *vn_head; struct fuse_vnode *v = NULL; + const char *path = (const char *)xpath; vn_head = dict_get(&f->name_tree, path); |