mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Fix compilation warning about int/uintptr casts
This commit is contained in:
@@ -438,10 +438,10 @@ private:
|
||||
else
|
||||
{
|
||||
// modification
|
||||
if(row > modRowMask)
|
||||
if(quintptr(row) > modRowMask)
|
||||
qCritical() << "Packing failure - more than 255 modifications in one event";
|
||||
|
||||
return ((parent.internalId() & eventRowMask) << modRowBits) | (row & modRowMask);
|
||||
return ((parent.internalId() & eventRowMask) << modRowBits) | (quintptr(row) & modRowMask);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user