Use unsigned type (at brendan's suggestion) for perhaps-more-efficient modulus. r+sr=brendan b=188761

This commit is contained in:
dbaron@dbaron.org
2003-07-24 21:42:53 +00:00
parent 945173d86e
commit ca46288930
2 changed files with 4 additions and 4 deletions

View File

@@ -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;