1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-21 12:00:06 +00:00

Attempt to fix CodeQL warning

This commit is contained in:
Chuck Walbourn 2024-11-05 11:12:53 -08:00 committed by GitHub
parent 74f7445974
commit c0e91fc631
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,7 @@ namespace
constexpr size_t MAX_TEXTURE_DIMENSION = 16384u;
#if defined(_M_X64) || defined(_M_ARM64) || __x86_64__ || __aarch64__
constexpr uint64_t MAX_TEXTURE_SIZE = 16384u * 16384u * 16u;
constexpr uint64_t MAX_TEXTURE_SIZE = UINT64_C(16384) * UINT64_C(16384) * 16u;
#else
constexpr uint64_t MAX_TEXTURE_SIZE = UINT32_MAX;
#endif
@ -709,4 +709,4 @@ HRESULT DirectX::StandardSwizzle(
}
}
}
#endif
#endif