mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
fix Mac bustage. I can't believe the Mac can't do this conversion without a cast!
This commit is contained in:
parent
c02b2d0411
commit
a2511b96a8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user