Skip to content
Snippets Groups Projects
Commit 6fefa992 authored by rswindell's avatar rswindell
Browse files

Address msvc2019 warning C4018: '<': signed/unsigned mismatch

parent 71259ac7
No related branches found
No related tags found
No related merge requests found
...@@ -2811,7 +2811,7 @@ js_listening_socket_constructor(JSContext *cx, uintN argc, jsval *arglist) ...@@ -2811,7 +2811,7 @@ js_listening_socket_constructor(JSContext *cx, uintN argc, jsval *arglist)
free(protocol); free(protocol);
return JS_FALSE; return JS_FALSE;
} }
for (i = 0; i < count; i++) { for (i = 0; (jsuint)i < count; i++) {
if (!JS_GetElement(cx, obj, i, &v)) { if (!JS_GetElement(cx, obj, i, &v)) {
lprintf(LOG_WARNING, "Unable to get element %d from interface array", i); lprintf(LOG_WARNING, "Unable to get element %d from interface array", i);
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment