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

Invalid type in printf format specifier

CID 319135
parent 049916bc
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -241,11 +241,11 @@ js_sendfile(JSContext *cx, uintN argc, jsval *arglist)
close(file);
if(comWriteBuf(p->com,(uint8_t *)buf,(size_t)len)==len) {
dbprintf(FALSE, p, "sent %u bytes",len);
dbprintf(FALSE, p, "sent %ld bytes",len);
JS_SET_RVAL(cx, arglist, JSVAL_TRUE);
} else {
p->last_error=COM_ERROR_VALUE;
dbprintf(TRUE, p, "send of %u bytes failed",len);
dbprintf(TRUE, p, "send of %ld bytes failed",len);
}
free(buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment