From 2e422b3cb8b7b17f9160c624ad69ba7d9b1295a3 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 29 Mar 2022 19:31:48 +0200 Subject: [PATCH] [spidermonkey] signdness --- src/ecmascript/spidermonkey/document.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ecmascript/spidermonkey/document.c b/src/ecmascript/spidermonkey/document.c index 0fab55004..e38489d78 100644 --- a/src/ecmascript/spidermonkey/document.c +++ b/src/ecmascript/spidermonkey/document.c @@ -1315,7 +1315,7 @@ document_write_do(JSContext *ctx, unsigned int argc, JS::Value *rval, int newlin if (argc >= 1) { - for (int i = 0; i < argc; ++i) + for (unsigned int i = 0; i < argc; ++i) { jshandle_value_to_char_string(&code, ctx, args[i]); }