mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-07 05:38:30 +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
@@ -414,7 +414,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
default:
|
||||
LOG_ERROR("Currently unsupported GPU vendor 0x%04x, doing nothing!\n",
|
||||
(short)info.vendor);
|
||||
(unsigned short)info.vendor);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -454,7 +454,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
default:
|
||||
LOG_ERROR("Currently unsupported GPU vendor 0x%04x, doing nothing!\n",
|
||||
(short)info.vendor);
|
||||
(unsigned short)info.vendor);
|
||||
print_usage_and_exit();
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user