mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 12:33:58 +00:00
Fix 32-bit compilation
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user