Author: weiden
Date: Mon Jan 22 01:47:22 2007
New Revision: 25573
URL:
http://svn.reactos.org/svn/reactos?rev=25573&view=rev
Log:
Yet another fix for GCC4.2
Modified:
trunk/reactos/lib/crt/locale/locale.c
Modified: trunk/reactos/lib/crt/locale/locale.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/crt/locale/locale.c?re…
==============================================================================
--- trunk/reactos/lib/crt/locale/locale.c (original)
+++ trunk/reactos/lib/crt/locale/locale.c Mon Jan 22 01:47:22 2007
@@ -16,7 +16,7 @@
int _current_category; /* used by setlocale */
const char *_current_locale;
-int parse_locale(char *locale, char *lang, char *country, char *code_page);
+int parse_locale(const char *locale, char *lang, char *country, char *code_page);
/*
* @unimplemented
@@ -27,7 +27,7 @@
char country[100];
char code_page[100];
if (NULL != locale) {
- parse_locale((char *)locale,lang,country,code_page);
+ parse_locale(locale,lang,country,code_page);
}
//printf("%s %s %s %s\n",locale,lang,country,code_page);
@@ -63,7 +63,7 @@
| NULL
*/
-int parse_locale(char *locale, char *lang, char *country, char *code_page)
+int parse_locale(const char *locale, char *lang, char *country, char *code_page)
{
while ( *locale != 0 && *locale != '.' && *locale != '_'
)
{