From a9cb568845e17fd9ebe8b1304205fc6855f14832 Mon Sep 17 00:00:00 2001 From: "jband%netscape.com" Date: Sun, 15 Oct 2000 02:25:02 +0000 Subject: [PATCH] attempting to fix Mac bustage from ssu's checkin. IRC is quiet git-svn-id: svn://10.0.0.236/trunk@81226 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpinstall/src/nsJSFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpinstall/src/nsJSFile.cpp b/mozilla/xpinstall/src/nsJSFile.cpp index ac9697d6716..17ffb4dde5e 100644 --- a/mozilla/xpinstall/src/nsJSFile.cpp +++ b/mozilla/xpinstall/src/nsJSFile.cpp @@ -1034,7 +1034,7 @@ InstallFileOpFileWindowsGetShortName(JSContext *cx, JSObject *obj, uintN argc, j } if(shortPathName.Length() != 0) - *rval = STRING_TO_JSVAL(JS_NewUCStringCopyN(cx, NS_STATIC_CAST(const jschar*, shortPathName.GetUnicode()), shortPathName.Length())); + *rval = STRING_TO_JSVAL(JS_NewUCStringCopyN(cx, NS_REINTERPRET_CAST(const jschar*, shortPathName.GetUnicode()), shortPathName.Length())); return JS_TRUE; }