aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r--ui/gtk/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index 7a40b467dd..add9afb484 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2266,7 +2266,7 @@ main(int argc, char *argv[])
/*
* Attempt to get the pathname of the executable file.
*/
- init_progfile_dir_error = init_progfile_dir(argv[0], (void *)main);
+ init_progfile_dir_error = init_progfile_dir(argv[0], main);
/* initialize the funnel mini-api */
initialize_funnel_ops();