mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-06 13:18:31 +02:00
Use matching signedness in format strings
Either cast the variable or change the format string to match the signedness.
This commit is contained in:

committed by
Alex Smith

parent
0eb59fc848
commit
45ba5bc4c4
@@ -133,7 +133,7 @@ int run_external_process(const char *const *exec_args, char buffer[EXTERNAL_BUFF
|
||||
if (!WIFEXITED(status)) {
|
||||
LOG_ERROR("Child process '%s' exited abnormally\n", exec_args[0]);
|
||||
} else if (WEXITSTATUS(status) != 0) {
|
||||
LOG_ERROR("External process failed with exit code %u\n", WEXITSTATUS(status));
|
||||
LOG_ERROR("External process failed with exit code %d\n", WEXITSTATUS(status));
|
||||
LOG_ERROR("Output was: %s\n", buffer ? buffer : internal);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user