Use "int" for variables printed out using "%d" in the code

Fix -Wformat warnings in the char_strings runtime test.
This commit is contained in:
Vadim Zeitlin 2022-09-17 17:30:54 +02:00
commit 23144219af

View file

@ -8,8 +8,8 @@ int main() {
char *CPLUSPLUS_MSG = "A message from the deep dark world of C++, where anything is possible.";
char *OTHERLAND_MSG = "Little message from the safe world.";
long count = 10000;
long i = 0;
int count = 10000;
int i = 0;
// get functions
for (i=0; i<count; i++) {