mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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: https://github.com/nodejs/node/pull/52142 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
5cd3df8fe1
commit
a5204eb915
1 file changed
+2
-2
+2
-2
@@ -613,8 +613,8 @@ bool Simplify(const std::vector<char>& code,
|
||||
}
|
||||
|
||||
if (simplified_count > 0) {
|
||||
Debug("Simplified %d characters, ", simplified_count);
|
||||
Debug("old size %d, new size %d\n", code_size, simplified->size());
|
||||
Debug("Simplified %lu characters, ", simplified_count);
|
||||
Debug("old size %lu, new size %lu\n", code_size, simplified->size());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user