mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Fixed build breakage on Unix
This commit is contained in:
parent
360378b073
commit
4f5baff7ce
@ -695,7 +695,7 @@ GlobalWindowImpl::SetTimeoutOrInterval(JSContext *cx,
|
||||
}
|
||||
|
||||
timeout->argc = 0;
|
||||
for (i = 2; (uint)i < argc; i++) {
|
||||
for (i = 2; (PRUint32)i < argc; i++) {
|
||||
timeout->argv[i - 2] = argv[i];
|
||||
if (!JS_AddNamedRoot(cx, &timeout->argv[i - 2], "timeout.argv[i]")) {
|
||||
DropTimeout(timeout);
|
||||
|
Loading…
Reference in New Issue
Block a user