mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-09 13:51:31 +00:00
32-bit compile fixes (casts from uint64_t to size_t)
This commit is contained in:
1 parent
b8520a274d
commit
ae06f86a1c
1 file changed
+3
-3
@@ -774,10 +774,10 @@ bool WrappedID3D12Device::Serialise_MapDataWrite(Serialiser *localSerialiser,
|
||||
|
||||
if(SUCCEEDED(hr))
|
||||
{
|
||||
memcpy(mapPtr + begin, data, end - begin);
|
||||
memcpy(mapPtr + begin, data, size_t(end - begin));
|
||||
|
||||
range.Begin = begin;
|
||||
range.End = end;
|
||||
range.Begin = (size_t)begin;
|
||||
range.End = (size_t)end;
|
||||
|
||||
r->Unmap(sub, &range);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user