Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runmode/unix-socket: fix cppcheck warnings
src/runmode-unix-socket.c:547:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] snprintf(tstr, sizeof(tstr), "%d", cfile->tenant_id); ^ src/runmode-unix-socket.c:1040:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] snprintf(prefix, sizeof(prefix), "multi-detect.%d", tenant_id); ^ src/runmode-unix-socket.c:1189:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] snprintf(prefix, sizeof(prefix), "multi-detect.%d", tenant_id); ^
- Loading branch information