mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Silencing a signed vs unsigned type mismatch warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
52525c0928
commit
88d51ce445
@ -297,7 +297,7 @@ ValueProfData::getValueProfData(const unsigned char *D,
|
||||
if (VR->Kind > IPVK_Last)
|
||||
return instrprof_error::malformed;
|
||||
VR = VR->getNext();
|
||||
if ((char *)VR - (char *)VPD.get() > TotalSize)
|
||||
if ((char *)VR - (char *)VPD.get() > (ptrdiff_t)TotalSize)
|
||||
return instrprof_error::malformed;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user