mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 08:40:56 +00:00
Bug 1360321 - 4e. Fix std::min type error; r=froydnj r=glandium
Specify the same type for std::min arguments to avoid the error. MozReview-Commit-ID: C7yHu7c1s34
This commit is contained in:
parent
7752e253ee
commit
8dd6064fc9
@ -18,7 +18,7 @@ ParseVarLenInt(const uint8_t* aBuf, size_t aBufSize, uint64_t* aValue)
|
||||
if (!aBufSize) {
|
||||
return 0;
|
||||
}
|
||||
aBufSize = std::min(9u, aBufSize);
|
||||
aBufSize = std::min(size_t(9), aBufSize);
|
||||
|
||||
*aValue = aBuf[0] & 0x7F;
|
||||
size_t i = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user