Fix erroneous format string (int => long int)
As reported by cppcheck: src/generator.c:91:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] fprintf(stderr,"\r%s Selecting degrees... (%d of %d)", ^ src/generator.c:91:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] fprintf(stderr,"\r%s Selecting degrees... (%d of %d)", ^
This commit is contained in:
parent
17088c631f
commit
f97ef9ac60
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ void generator_run(Generator_t * generator){
|
|||
|
||||
for (cur = 0; cur < generator->_node_count; cur++){
|
||||
|
||||
fprintf(stderr,"\r%s Selecting degrees... (%d of %d)",
|
||||
fprintf(stderr,"\r%s Selecting degrees... (%ld of %ld)",
|
||||
progress_indicator(),
|
||||
cur + 1,
|
||||
generator->_edge_count);
|
||||
|
|
Loading…
Reference in a new issue