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:
Michael Dawson authored and marco-ippolito committed 2024-05-03 08:30:26 +02:00
1 parent 5cd3df8fe1
commit a5204eb915
1 file changed
+2 -2
+2 -2
View File
@@ -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;