Bug 936700 - Warning fix 2 of 2

CLOSED TREE
This commit is contained in:
Phil Ringnalda 2013-11-24 12:49:15 -08:00
parent 2899e12661
commit 6c467f231c

View File

@ -2240,7 +2240,7 @@ RuntimeService::WorkerPrefChanged(const char* aPrefName, void* aClosure)
AssertIsOnMainThread();
uintptr_t tmp = reinterpret_cast<uintptr_t>(aClosure);
MOZ_ASSERT(tmp >= 0 && tmp < WORKERPREF_COUNT);
MOZ_ASSERT(tmp < WORKERPREF_COUNT);
WorkerPreference key = static_cast<WorkerPreference>(tmp);
if (key == WORKERPREF_PROMISE) {