mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
32-bit compile fixes (casts from uint64_t to size_t)
This commit is contained in:
@@ -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