summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9e7b41)
raw | patch | inline | side by side (parent: f9e7b41)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Wed, 13 Oct 2010 20:04:35 +0000 (22:04 +0200) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Wed, 13 Oct 2010 20:04:35 +0000 (22:04 +0200) |
src/main.cpp | patch | blob | history |
diff --git a/src/main.cpp b/src/main.cpp
index 605b0f677ee1523d40699816e9971353c3374a51..eda6d0b03ca9882163bf6ced1d040dca62ff4a84 100644 (file)
--- a/src/main.cpp
+++ b/src/main.cpp
* 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
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;