|
From: <ric...@us...> - 2009-10-10 23:11:37
|
Revision: 1031
http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1031&view=rev
Author: rich_sposato
Date: 2009-10-10 23:11:31 +0000 (Sat, 10 Oct 2009)
Log Message:
-----------
Changed main declaration to remove GCC warning.
Modified Paths:
--------------
trunk/test/CheckReturn/main.cpp
trunk/test/Checker/main.cpp
Modified: trunk/test/CheckReturn/main.cpp
===================================================================
--- trunk/test/CheckReturn/main.cpp 2009-10-10 23:09:23 UTC (rev 1030)
+++ trunk/test/CheckReturn/main.cpp 2009-10-10 23:11:31 UTC (rev 1031)
@@ -1,12 +1,12 @@
////////////////////////////////////////////////////////////////////////////////
// The Loki Library
// Copyright (c) 2007 Rich Sposato
-// Permission to use, copy, modify, distribute and sell this software for any
-// purpose is hereby granted without fee, provided that the above copyright
-// notice appear in all copies and that both that copyright notice and this
+// Permission to use, copy, modify, distribute and sell this software for any
+// purpose is hereby granted without fee, provided that the above copyright
+// notice appear in all copies and that both that copyright notice and this
// permission notice appear in supporting documentation.
-// The author makes no representations about the
-// suitability of this software for any purpose. It is provided "as is"
+// The author makes no representations about the
+// suitability of this software for any purpose. It is provided "as is"
// without express or implied warranty.
////////////////////////////////////////////////////////////////////////////////
@@ -88,7 +88,7 @@
// ----------------------------------------------------------------------------
-int main( unsigned int argc, const char * argv[] )
+int main( int argc, const char * argv[] )
{
if ( 2 == argc )
Modified: trunk/test/Checker/main.cpp
===================================================================
--- trunk/test/Checker/main.cpp 2009-10-10 23:09:23 UTC (rev 1030)
+++ trunk/test/Checker/main.cpp 2009-10-10 23:11:31 UTC (rev 1031)
@@ -355,7 +355,7 @@
// ----------------------------------------------------------------------------
-int main( unsigned int argc, const char * const argv[] )
+int main( int argc, const char * const argv[] )
{
(void)argc;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|