--- src/uipp/base/Application.h.orig 2005-11-10 05:26:29.000000000 +1100
+++ src/uipp/base/Application.h 2012-06-15 02:19:19.000000000 +1000
@@ -49,7 +49,7 @@ class Application : public UIComponent,
// The main program needs to access protected member functions.
- friend int main(unsigned int argc,
+ friend int main(int argc,
--- src/uipp/dxui/Main.C.orig 2005-12-08 04:50:53.000000000 +1100
+++ src/uipp/dxui/Main.C 2012-06-15 02:23:01.000000000 +1000
@@ -48,9 +48,10 @@ extern unsigned long _etext;
const char *AssertMsgString = "Internal error detected at \"%s\":%d.\n";
-int main(unsigned int argc,
+ unsigned int argc_unsigned = argc;
#if defined(HAVE_HCLXMINIT)
// The following is not needed with the recent Exceed XDK. If you're
// using an XDK < 11.0 then uncomment the following command.
@@ -104,7 +105,7 @@ int main(unsigned int argc,
// add *tearOffModel:: XmTEAR_OFF_ENABLED/XmTEAR_OFF_DISABLED
XmRepTypeInstallTearOffModelConverter();
- if (!theApplication->initialize(&argc, argv))
+ if (!theApplication->initialize(&argc_unsigned, argv))
theApplication->handleEvents();
--- src/uipp/mb/Main.C.orig 2000-05-21 03:49:40.000000000 +1000
+++ src/uipp/mb/Main.C 2012-06-15 02:22:27.000000000 +1000
@@ -22,9 +22,10 @@ extern "C" void HCLXmInit();
const char *AssertMsgString = "Internal error detected at \"%s\":%d.\n";
-int main(unsigned int argc,
+ unsigned int argc_unsigned = argc;
#if defined(HAVE_HCLXMINIT)
@@ -39,7 +40,7 @@ int main(unsigned int argc,
theApplication = new MBApplication("MB");
- theApplication->initialize(&argc, argv);
+ theApplication->initialize(&argc_unsigned, argv);
theApplication->handleEvents();
--- src/uipp/prompter/Main.C.orig 2000-05-17 04:52:59.000000000 +1000
+++ src/uipp/prompter/Main.C 2012-06-15 02:21:29.000000000 +1000
@@ -17,9 +17,10 @@ extern "C" void HCLXmInit();