{ NOTMUCH_OPT_INT, &ctx->offset, "offset", 'O', 0 },
{ NOTMUCH_OPT_INT, &ctx->limit, "limit", 'L', 0 },
{ NOTMUCH_OPT_INT, &ctx->dupe, "duplicate", 'D', 0 },
- { NOTMUCH_OPT_INHERIT, &common_options, NULL, 0, 0 },
+ { NOTMUCH_OPT_INHERIT, (void *) &common_options, NULL, 0, 0 },
{ 0, 0, 0, 0, 0 }
};
(notmuch_keyword_t []){ { "true", NOTMUCH_EXCLUDE_TRUE },
{ "false", NOTMUCH_EXCLUDE_FALSE },
{ 0, 0 } } },
- { NOTMUCH_OPT_INHERIT, &common_options, NULL, 0, 0 },
+ { NOTMUCH_OPT_INHERIT, (void *) &common_options, NULL, 0, 0 },
{ 0, 0, 0, 0, 0 }
};