Fixed build breakage on Unix

This commit is contained in:
vidur 1998-07-09 16:30:26 +00:00
parent 360378b073
commit 4f5baff7ce

View File

@ -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);