mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 19:50:13 +02:00
Fix warning C26451
This commit is contained in:
parent
1c9148db32
commit
ac9f540897
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user