Fix 32-bit compilation

This commit is contained in:
baldurk
2019-11-29 15:02:06 +00:00
parent f3e0d98484
commit 9e9423db41
+1 -1
View File
@@ -1942,7 +1942,7 @@ void D3D11Replay::GetBufferData(ResourceId buff, uint64_t offset, uint64_t lengt
memcpy(retData.data(), &count, retData.size());
// remove offset bytes, up to 4
retData.erase(0, RDCMIN(4ULL, offset));
retData.erase(0, (size_t)RDCMIN(4ULL, offset));
return;
}