Author: cfinck
Date: Sun Jul 27 08:34:53 2008
New Revision: 34844
URL:
http://svn.reactos.org/svn/reactos?rev=34844&view=rev
Log:
Daniel Verkamp (daniel.verkamp(a)gmail.com):
- Fix buildno warnings when compiled with GCC 4.2.x or later
See issue #3578 for more details.
Modified:
trunk/reactos/tools/buildno/buildno.cpp
Modified: trunk/reactos/tools/buildno/buildno.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/buildno/buildno.cpp?…
==============================================================================
--- trunk/reactos/tools/buildno/buildno.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/buildno/buildno.cpp [iso-8859-1] Sun Jul 27 08:34:53 2008
@@ -33,11 +33,11 @@
#define FALSE 0
#define TRUE 1
-static char * argv0 = "";
+static const char * argv0 = "";
static char * filename = NULL;
static char * build_tag = NULL;
-int count_wide_string( wchar_t *str )
+int count_wide_string( const wchar_t *str )
{
int i;
for( i = 0; str[i]; i++ )