summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-10-13 20:04:35 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-10-13 20:04:35 +0000
commitde2f3c136fb601ac9bf4a10b594248a705c22357 (patch)
treeb85cebe61b5563cfe3f47d685557a4c88711b7c0 /src
parentTutorials. New Tips and Elements Indonesian translations. (diff)
downloadinkscape-de2f3c136fb601ac9bf4a10b594248a705c22357.tar.gz
inkscape-de2f3c136fb601ac9bf4a10b594248a705c22357.zip
Fix build breakage on Windows after the recent "new gui" removal.
(bzr r9830)
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
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;