CPPCHECK fixes for printf issues

Fix for following CPPCheck warnings
- invalidPrintfArgType
Rebased with latest develop branch w21.
Reverted modifications unrelated to printf issues.
This commit is contained in:
Vijay Chadachan
2023-06-01 12:07:26 +02:00
committed by TheoniJ
parent 0e64165093
commit 836469e849
83 changed files with 687 additions and 688 deletions
+1 -2
View File
@@ -154,8 +154,7 @@ int load_module_version_shlib(char *modname, char *version, loader_shlibfunc_t *
lib_idx = loader_data.numshlibs;
++loader_data.numshlibs;
if (loader_data.numshlibs > loader_data.maxshlibs) {
fprintf(stderr, "[LOADER] can not load more than %d shlibs\n",
loader_data.maxshlibs);
fprintf(stderr, "[LOADER] can not load more than %u shlibs\n", loader_data.maxshlibs);
ret = -1;
goto load_module_shlib_exit;
}