$NetBSD: patch-ap,v 1.1 2006/04/28 13:52:06 joerg Exp $

--- SrcShared/Miscellaneous.cpp.orig	2006-04-28 13:19:44.000000000 +0000
+++ SrcShared/Miscellaneous.cpp
@@ -2687,7 +2687,7 @@ void FormatInteger (char* dest, uint32 i
 	// Get the thousands separator character(s).
 
 	struct lconv*	locale_data = localeconv ();
-	char*			thousands_sep = locale_data->thousands_sep;
+	const char*	thousands_sep = locale_data->thousands_sep;
 
 	if (strlen (thousands_sep) == 0)
 	{
@@ -2747,7 +2747,7 @@ string FormatInteger (uint32 integer)
 	// Get the thousands separator character(s).
 
 	struct lconv*	locale_data = localeconv ();
-	char*			thousands_sep = locale_data->thousands_sep;
+	const char*	thousands_sep = locale_data->thousands_sep;
 
 	if (strlen (thousands_sep) == 0)
 	{
