mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
Minor warning fixes
This commit is contained in:
@@ -1714,7 +1714,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
||||
break;
|
||||
|
||||
case OPT_COLORKEY:
|
||||
if (swscanf_s(pValue, L"%lx", &colorKey) != 1)
|
||||
if (swscanf_s(pValue, L"%x", &colorKey) != 1)
|
||||
{
|
||||
printf("Invalid value specified with -c (%ls)\n", pValue);
|
||||
printf("\n");
|
||||
@@ -3635,7 +3635,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
||||
|
||||
if (sizewarn)
|
||||
{
|
||||
wprintf(L"\nWARNING: Target size exceeds maximum size for feature level (%lu)\n", maxSize);
|
||||
wprintf(L"\nWARNING: Target size exceeds maximum size for feature level (%u)\n", maxSize);
|
||||
}
|
||||
|
||||
if (nonpow2warn && maxSize <= 4096)
|
||||
|
||||
Reference in New Issue
Block a user