Use unsigned type (at brendan's suggestion) for perhaps-more-efficient modulus. r+sr=brendan b=188761
This commit is contained in:
@@ -245,12 +245,12 @@ protected:
|
||||
protected:
|
||||
|
||||
static nsBlinkTimer* sTextBlinker;
|
||||
static PRInt32 sState; // 0-2 == on; 3 == off
|
||||
static PRUint32 sState; // 0-2 == on; 3 == off
|
||||
|
||||
};
|
||||
|
||||
nsBlinkTimer* nsBlinkTimer::sTextBlinker = nsnull;
|
||||
PRBool nsBlinkTimer::sState = 0;
|
||||
PRUint32 nsBlinkTimer::sState = 0;
|
||||
|
||||
#ifdef NOISY_BLINK
|
||||
static PRTime gLastTick;
|
||||
|
||||
Reference in New Issue
Block a user