Fix erroneous format string (int => long int)
As reported by cppcheck: src/degree.c:91:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] printf("\r%s Selecting degrees... (%d of %d)", ^ src/degree.c:91:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] printf("\r%s Selecting degrees... (%d of %d)", ^
This commit is contained in:
parent
8318eeee13
commit
f24b8bd3a8
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ void degree_fill_from_random(Degree_t * degree, nodeindex_t edge_count){
|
|||
nodeindex_t dst_node;
|
||||
nodeindex_t deg;
|
||||
|
||||
printf("\r%s Selecting degrees... (%d of %d)",
|
||||
printf("\r%s Selecting degrees... (%ld of %ld)",
|
||||
progress_indicator(),
|
||||
cur+1,
|
||||
remaining);
|
||||
|
|
Loading…
Reference in a new issue