Skip to content

Commit a5204eb

Browse files
mhdawsonmarco-ippolito
authored andcommitted
tools: fix error reported by coverity in js2c.cc
Coverity reported using the wrong argument types to printf Signed-off-by: Michael Dawson <[email protected]> PR-URL: #52142 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 5cd3df8 commit a5204eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/js2c.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,8 @@ bool Simplify(const std::vector<char>& code,
613613
}
614614

615615
if (simplified_count > 0) {
616-
Debug("Simplified %d characters, ", simplified_count);
617-
Debug("old size %d, new size %d\n", code_size, simplified->size());
616+
Debug("Simplified %lu characters, ", simplified_count);
617+
Debug("old size %lu, new size %lu\n", code_size, simplified->size());
618618
return true;
619619
}
620620
return false;

0 commit comments

Comments
 (0)