Fix compile warning

This commit is contained in:
Wojtek Figat
2023-11-06 20:50:52 +01:00
parent 7dc645c114
commit 47ca4228dd

View File

@@ -294,7 +294,7 @@ public:
void SetAll(const bool value)
{
if (_count != 0)
Platform::MemorySet(_allocation.Get(), ToItemCount(_count) * sizeof(ItemType), value ? MAX_uint64 : 0);
Platform::MemorySet(_allocation.Get(), ToItemCount(_count) * sizeof(ItemType), value ? MAX_uint32 : 0);
}
/// <summary>