ArtsoftEntertainment / rocksndiamonds

GNU General Public License v2.0
4 stars 4 forks source link

Use "%u" conversion specifier for unsigned int #6

Open Quipyowert2 opened 4 years ago

Quipyowert2 commented 4 years ago

This fixes some Cppcheck warnings:

[src\game.c:12477]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[src\netserv.c:388]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[src\netserv.c:389]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[src\netserv.c:390]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[src\libgame\misc.c:303]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[src\libgame\zip\iowin32.c:266]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[src\libgame\zip\iowin32.c:291]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.