зеркало из https://github.com/mozilla/pjs.git
Use unsigned type (at brendan's suggestion) for perhaps-more-efficient modulus. r+sr=brendan b=188761
This commit is contained in:
Родитель
71e83f7596
Коммит
995c801fa9
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче