mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 451527 - Add a strong type convention for Mingw build, r=bz, sr=jst
This commit is contained in:
parent
4f5890e60b
commit
129dd4df5a
@ -563,7 +563,9 @@ nsDOMWorkerThread::CompileGlobalObject(JSContext* aCx)
|
||||
JSPROP_ENUMERATE);
|
||||
NS_ENSURE_TRUE(success, PR_FALSE);
|
||||
|
||||
JSScript* script = JS_CompileUCScript(aCx, global, mSource.BeginReading(),
|
||||
JSScript* script = JS_CompileUCScript(aCx, global,
|
||||
reinterpret_cast<const jschar*>
|
||||
(mSource.BeginReading()),
|
||||
mSource.Length(), nsnull, 1);
|
||||
NS_ENSURE_TRUE(script, PR_FALSE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user