fix void* arithmetic (Alon Bar-Lev)

master
szaka 2008-01-23 21:07:59 +00:00
parent 48f32c048a
commit ba4e6dbd9e
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,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 = (char *)ctx->data + opt->offset;
if (sep && opt->templ[sep + 1]) {
const char *param = arg + sep;
if (opt->templ[sep] == '=')