Skip to content

Commit c43a944

Browse files
committed
tools: fix error reported by coverity in js2c.cc
Coverity reported using the wrong argument types to printf Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: #52142 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 6af4049 commit c43a944

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)