mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
Fix warning C26451
This commit is contained in:
@@ -254,7 +254,7 @@ namespace
|
|||||||
assert(srcImage.format == destImage.format);
|
assert(srcImage.format == destImage.format);
|
||||||
|
|
||||||
// Allocate temporary space (2 scanlines)
|
// Allocate temporary space (2 scanlines)
|
||||||
auto scanline = make_AlignedArrayXMVECTOR(srcImage.width + destImage.width);
|
auto scanline = make_AlignedArrayXMVECTOR(uint64_t(srcImage.width) + destImage.width);
|
||||||
if (!scanline)
|
if (!scanline)
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user