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:
parent
2b2fe7785a
commit
23144219af
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ int main() {
|
||||||
char *CPLUSPLUS_MSG = "A message from the deep dark world of C++, where anything is possible.";
|
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.";
|
char *OTHERLAND_MSG = "Little message from the safe world.";
|
||||||
|
|
||||||
long count = 10000;
|
int count = 10000;
|
||||||
long i = 0;
|
int i = 0;
|
||||||
|
|
||||||
// get functions
|
// get functions
|
||||||
for (i=0; i<count; i++) {
|
for (i=0; i<count; i++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue