From dfcf0daf2f7b4a2e2489a7705eda207c19e3fb48 Mon Sep 17 00:00:00 2001 From: "tague%netscape.com" Date: Mon, 2 Aug 1999 04:19:00 +0000 Subject: [PATCH] Fix more egcs v. gcc differences. git-svn-id: svn://10.0.0.236/trunk@41789 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp b/mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp index d7c7c92684a..e73b472dcf0 100644 --- a/mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp +++ b/mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp @@ -61,11 +61,11 @@ nsresult nsDateTimeFormatUnix::FormatTMTime(nsILocale* locale, PL_strncpy(platformLocale, "en_US", kPlatformLocaleLength+1); if (locale != nsnull) { - const PRUnichar *aLocaleUnichar; + PRUnichar *aLocaleUnichar; nsString aLocale; nsString aCategory("NSILOCALE_TIME"); - res = locale->GetCategory(aCategory.GetUnicode(), &aLocaleUnichar); + res = locale->GetCategory(aCategory.ToNewUnicode(), &aLocaleUnichar); if (NS_FAILED(res)) { return res; }