From: Daniel Carl Date: Fri, 19 May 2017 22:31:56 +0000 (+0200) Subject: Cast to OptArgFunction. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=6ff33e957e309f916a39ccb7af49e797125f01e0;p=vimb.git Cast to OptArgFunction. --- diff --git a/src/main.c b/src/main.c index fd77f00..b0e34f1 100644 --- a/src/main.c +++ b/src/main.c @@ -1744,7 +1744,7 @@ int main(int argc, char* argv[]) GOptionEntry opts[] = { {"embed", 'e', 0, G_OPTION_ARG_STRING, &winid, "Reparents to window specified by xid", NULL}, {"config", 'c', 0, G_OPTION_ARG_FILENAME, &vb.configfile, "Custom configuration file", NULL}, - {"profile", 'p', 0, G_OPTION_ARG_CALLBACK, profileOptionArgFunc, "Profile name", NULL}, + {"profile", 'p', 0, G_OPTION_ARG_CALLBACK, (GOptionArgFunc*)profileOptionArgFunc, "Profile name", NULL}, {"version", 'v', 0, G_OPTION_ARG_NONE, &ver, "Print version", NULL}, {NULL} };