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
This commit is contained in:
jband%netscape.com
2000-10-15 02:25:02 +00:00
parent 63be19cc18
commit a9cb568845

View File

@@ -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;
}