From cec3e58174ae450c93747b62a601f1cd056cf705 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Mon, 11 Dec 2000 21:38:49 +0000 Subject: [PATCH] EMX build break --- intl/locale/src/os2/nsCollationOS2.cpp | 2 +- intl/locale/src/os2/nsDateTimeFormatOS2.cpp | 2 +- intl/locale/src/os2/nsOS2Locale.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/intl/locale/src/os2/nsCollationOS2.cpp b/intl/locale/src/os2/nsCollationOS2.cpp index a0f0afb98eef..db763e10a1f1 100644 --- a/intl/locale/src/os2/nsCollationOS2.cpp +++ b/intl/locale/src/os2/nsCollationOS2.cpp @@ -64,7 +64,7 @@ nsCollationOS2::~nsCollationOS2() /* Workaround for GCC problem */ #ifndef LOCI_iCodepage -#define LOCI_iCodepage 111 +#define LOCI_iCodepage ((LocaleItem)111) #endif nsresult nsCollationOS2::Initialize(nsILocale *locale) diff --git a/intl/locale/src/os2/nsDateTimeFormatOS2.cpp b/intl/locale/src/os2/nsDateTimeFormatOS2.cpp index 693feb92c4d5..0a51b91a44c3 100644 --- a/intl/locale/src/os2/nsDateTimeFormatOS2.cpp +++ b/intl/locale/src/os2/nsDateTimeFormatOS2.cpp @@ -65,7 +65,7 @@ nsresult nsDateTimeFormatOS2::FormatTime(nsILocale* locale, /* Workaround for GCC problem */ #ifndef LOCI_sDate -#define LOCI_sDate 63 +#define LOCI_sDate ((LocaleItem)63) #endif // performs a locale sensitive date formatting operation on the struct tm parameter diff --git a/intl/locale/src/os2/nsOS2Locale.cpp b/intl/locale/src/os2/nsOS2Locale.cpp index 8bc95b940897..5091b0b862ea 100644 --- a/intl/locale/src/os2/nsOS2Locale.cpp +++ b/intl/locale/src/os2/nsOS2Locale.cpp @@ -58,7 +58,7 @@ nsOS2Locale::~nsOS2Locale(void) /* Workaround for GCC problem */ #ifndef LOCI_sName -#define LOCI_sName 100 +#define LOCI_sName ((LocaleItem)100) #endif NS_IMETHODIMP