From de2f3c136fb601ac9bf4a10b594248a705c22357 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Wed, 13 Oct 2010 22:04:35 +0200 Subject: Fix build breakage on Windows after the recent "new gui" removal. (bzr r9830) --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 605b0f677..eda6d0b03 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -581,7 +581,7 @@ static void set_extensions_env() * architectures it might be called by something else. */ int -main(int argc, const char **argv) +main(int argc, char **argv) { #ifdef HAVE_FPSETMASK /* This is inherited from Sodipodi code, where it was in #ifdef __FreeBSD__. It's probably @@ -714,9 +714,9 @@ main(int argc, const char **argv) int retcode; if (use_gui) { - retcode = sp_main_gui(argc, argv); + retcode = sp_main_gui(argc, (const char **) argv); } else { - retcode = sp_main_console(argc, argv); + retcode = sp_main_console(argc, (const char **) argv); } return retcode; -- cgit v1.2.3