llvm.org GIT mirror llvm / 1efc1b6
Fixed signed/unsigned warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265052 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
170170 const unsigned char *&BufEnd,
171171 bool VerifyBufferSize) {
172172 // Must contain the offset and size field!
173 if (BufEnd - BufPtr < BWH_SizeField + 4)
173 if (unsigned(BufEnd - BufPtr) < BWH_SizeField + 4)
174174 return true;
175175
176176 unsigned Offset = support::endian::read32le(&BufPtr[BWH_OffsetField]);