diff options
author | Matt Mower <mowerm@gmail.com> | 2015-12-14 01:29:37 -0600 |
---|---|---|
committer | Matt Mower <mowerm@gmail.com> | 2015-12-14 01:34:36 -0600 |
commit | 42f00b6e0c5eb0b3f5e9168c87bf9ff276673a4e (patch) | |
tree | cf99809ab7a4665674ee8f87895b1b963d265be6 | |
parent | e7068fc9bcd57aa91203fe845085b28c0f5ed561 (diff) | |
download | android_external_fuse-42f00b6e0c5eb0b3f5e9168c87bf9ff276673a4e.tar.gz android_external_fuse-42f00b6e0c5eb0b3f5e9168c87bf9ff276673a4e.tar.bz2 android_external_fuse-42f00b6e0c5eb0b3f5e9168c87bf9ff276673a4e.zip |
libfuse: Fix cast for void* in fuse optsHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004-rc1replicant-6.0-0004replicant-6.0-0003replicant-6.0-0002replicant-6.0-0001stable/cm-13.0-ZNH5Ystable/cm-13.0-ZNH2KBstable/cm-13.0-ZNH2Kstable/cm-13.0-ZNH0Ecm-13.0
Change-Id: I3eb7dca2eba002a8bc96646e49bb3bd9fcfcf645
-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 c793edf..78d3b32 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 = (intptr_t *)ctx->data + opt->offset; + void *var = (char *)ctx->data + opt->offset; if (sep && opt->templ[sep + 1]) { const char *param = arg + sep; if (opt->templ[sep] == '=') |