Bug 296374: patch from jag@tty.nl to fix mingw/vc2005 bustage from initial

landing, r+a=me.
This commit is contained in:
shaver%mozilla.org 2005-06-30 11:46:15 +00:00
parent 8d91ed1daf
commit 961cdf5d4a

View File

@ -2194,7 +2194,8 @@ nsXPCComponents_Util::EvalInSandbox(const nsAString &source,
JS_SetErrorReporter(cx, borrowedReporter);
if(!JS_EvaluateUCScriptForPrincipals(sandcx, sandbox, jsPrincipals,
PromiseFlatString(source).get(),
NS_REINTERPRET_CAST(const jschar *,
PromiseFlatString(source).get()),
source.Length(),
PromiseFlatUTF8String(codebase).get(),
1, rval)) {