diff options
author | Steve Kondik <steve@cyngn.com> | 2015-11-10 14:35:26 +0100 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-10 14:35:26 +0100 |
commit | e7068fc9bcd57aa91203fe845085b28c0f5ed561 (patch) | |
tree | 33183235a87de94bd7def69207ac9366504abfd9 /lib/fuse_opt.c | |
parent | 4aca8d074bfbf55e2d20c64554ac30cbb7717efd (diff) | |
download | android_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.c | 2 |
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] == '=') |