fix Mac bustage. I can't believe the Mac can't do this conversion without a cast!

This commit is contained in:
jband%netscape.com 2001-11-01 02:36:19 +00:00
parent c02b2d0411
commit a2511b96a8

View File

@ -370,8 +370,8 @@ nsXPCWrappedJSClass::BuildPropertyEnumerator(XPCCallContext& ccx,
goto out;
nsCOMPtr<nsIProperty> property =
new xpcProperty(JS_GetStringChars(name),
JS_GetStringLength(name),
new xpcProperty((const PRUnichar*) JS_GetStringChars(name),
(PRUint32) JS_GetStringLength(name),
value);
if(!property)
goto out;