Skip to content
Snippets Groups Projects
Commit 895d9cb3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

printf usage issue caught by Coverity.

parent f576cbc6
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -1758,7 +1758,7 @@ js_write(JSContext *cx, uintN argc, jsval *arglist) ...@@ -1758,7 +1758,7 @@ js_write(JSContext *cx, uintN argc, jsval *arglist)
JS_SET_RVAL(cx, arglist, JSVAL_TRUE); JS_SET_RVAL(cx, arglist, JSVAL_TRUE);
} else { } else {
free(cp); free(cp);
dbprintf(TRUE, p, "write of %u bytes failed",len); dbprintf(TRUE, p, "write of %lu bytes failed", (ulong)len);
} }
JS_RESUMEREQUEST(cx, rc); JS_RESUMEREQUEST(cx, rc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment