mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-12-17 21:07:21 +01: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
@@ -62,9 +62,9 @@ enum GPUVendor gamemode_get_gpu_vendor(long device)
|
||||
LOG_ERROR("Unknown vendor value (0x%04x) found, cannot apply optimisations!\n",
|
||||
(unsigned int)vendor);
|
||||
LOG_ERROR("Known values are: 0x%04x (NVIDIA) 0x%04x (AMD) 0x%04x (Intel)\n",
|
||||
Vendor_NVIDIA,
|
||||
Vendor_AMD,
|
||||
Vendor_Intel);
|
||||
(unsigned int)Vendor_NVIDIA,
|
||||
(unsigned int)Vendor_AMD,
|
||||
(unsigned int)Vendor_Intel);
|
||||
return Vendor_Invalid;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user