Bug 874641 - Fix warning: xpcom/base/nsUUIDGenerator.cpp [-Wsign-compare]. r=bsmedberg

This commit is contained in:
Shane Tully 2013-05-24 10:56:45 -07:00
parent 46907ebf24
commit e35e83a6aa

View File

@ -124,7 +124,7 @@ nsUUIDGenerator::GenerateUUIDInPlace(nsID* id)
while (bytesLeft > 0) {
#ifdef ANDROID
long rval = arc4random();
const int mRBytes = 4;
const size_t mRBytes = 4;
#else
long rval = random();
#endif