[sanitizer_common] Fix lint warnings.

llvm-svn: 174616
This commit is contained in:
Alexander Potapenko 2013-02-07 14:58:04 +00:00
parent 349cabed2f
commit 109aa04ea9
1 changed files with 4 additions and 4 deletions

View File

@ -408,13 +408,13 @@ class SizeClassAllocator64 {
void ForceLock() {
for (uptr i = 0; i < kNumClasses; i++) {
GetRegionInfo(i)->mutex.Lock();
}
}
}
void ForceUnlock() {
for (int i = (int)kNumClasses - 1; i >= 0; i--) {
GetRegionInfo(i)->mutex.Unlock();
}
}
}
typedef SizeClassMap SizeClassMapT;
@ -654,13 +654,13 @@ class SizeClassAllocator32 {
void ForceLock() {
for (uptr i = 0; i < kNumClasses; i++) {
GetSizeClassInfo(i)->mutex.Lock();
}
}
}
void ForceUnlock() {
for (int i = kNumClasses - 1; i >= 0; i--) {
GetSizeClassInfo(i)->mutex.Unlock();
}
}
}
void PrintStats() {