Use matching signedness in format strings

Either cast the variable or change the format string to match the
signedness.
This commit is contained in:
Christian Kellner
2019-03-21 13:50:26 +01:00
committed by Alex Smith
parent 0eb59fc848
commit 45ba5bc4c4
3 changed files with 6 additions and 6 deletions

View File

@@ -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;
}