mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-10 16:09:09 +00:00
Fix compilation warning about int/uintptr casts
This commit is contained in:
1 parent
5588686fd7
commit
59b28e6843
1 file changed
+2
-2
@@ -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