src: silence compiler warning in node_report.cc
Currently the following compiler warnings is generated:
../src/node_report.cc:778:43:
warning: format specifies type 'unsigned long' but the argument has
type 'rlim_t' (aka 'unsigned long long') [-Wformat]
snprintf(buf, sizeof(buf), "%lu", limit.rlim_max);
~~~ ^~~~~~~~~~~~~~
%llu
1 warning generated.
This commit changes the format specifier to $llu.
PR-URL: https://github.com/nodejs/node/pull/25557
Reviewed-By:
Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By:
Richard Lau <riclau@uk.ibm.com>
Reviewed-By:
Minwoo Jung <minwoo@nodesource.com>
parent
c0acece7
Please register or sign in to comment