You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When any of the memory usage values exceeds 2 147 483 648, on my system it gets generated in the JSON file as a negative integer.
This is a normal behavior for sprintf when called with %d : the argument is treated as an integer and presented as a signed decimal number.
You should replace %d with %lu : long unsigned decimal number.
%ld is a working replacement too, but since those values can't be negative...
The text was updated successfully, but these errors were encountered:
When any of the memory usage values exceeds 2 147 483 648, on my system it gets generated in the JSON file as a negative integer.
This is a normal behavior for sprintf when called with %d : the argument is treated as an integer and presented as a signed decimal number.
You should replace %d with %lu : long unsigned decimal number.
%ld is a working replacement too, but since those values can't be negative...
The text was updated successfully, but these errors were encountered: