From 67d72cfee77fcfdc736e4ca140d81ae240005bdd Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Sun, 24 Dec 2000 01:26:18 +0000 Subject: [PATCH] Attempt to fix OS/2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2. UniChar was accidentally used in place of PRUnichar. b=54564 --- widget/src/os2/nsModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/os2/nsModule.cpp b/widget/src/os2/nsModule.cpp index c9ee12e2a567..b5ce3c5368e9 100644 --- a/widget/src/os2/nsModule.cpp +++ b/widget/src/os2/nsModule.cpp @@ -269,7 +269,7 @@ PRUnichar *nsWidgetModuleData::ConvertToUcs( const char *szText, size_t ucsLen = ulSize; size_t cSubs = 0; - UniChar *tmp = pBuffer; // function alters the out pointer + PRUnichar *tmp = pBuffer; // function alters the out pointer int unirc = UniUconvToUcs( converter, (void **)&szText, &szLen, &tmp, &ucsLen, &cSubs);