aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_opt.c
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-11-10 14:35:26 +0100
committerSteve Kondik <steve@cyngn.com>2015-11-10 14:35:26 +0100
commite7068fc9bcd57aa91203fe845085b28c0f5ed561 (patch)
tree33183235a87de94bd7def69207ac9366504abfd9 /lib/fuse_opt.c
parent4aca8d074bfbf55e2d20c64554ac30cbb7717efd (diff)
downloadandroid_external_fuse-e7068fc9bcd57aa91203fe845085b28c0f5ed561.tar.gz
android_external_fuse-e7068fc9bcd57aa91203fe845085b28c0f5ed561.tar.bz2
android_external_fuse-e7068fc9bcd57aa91203fe845085b28c0f5ed561.zip
libfuse: Cleanup code and update build configuration
Change-Id: Id9600a3b60dec2aa3c9aca06310c88148aeb9278
Diffstat (limited to 'lib/fuse_opt.c')
-rw-r--r--lib/fuse_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse_opt.c b/lib/fuse_opt.c
index a2118ce..c793edf 100644
--- a/lib/fuse_opt.c
+++ b/lib/fuse_opt.c
@@ -233,7 +233,7 @@ static int process_opt(struct fuse_opt_context *ctx,
if (call_proc(ctx, arg, opt->value, iso) == -1)
return -1;
} else {
- void *var = ctx->data + opt->offset;
+ void *var = (intptr_t *)ctx->data + opt->offset;
if (sep && opt->templ[sep + 1]) {
const char *param = arg + sep;
if (opt->templ[sep] == '=')