mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Use PRInt32 instead of PRUnichar to match everything else and handle EOF correctly. b=305947 r+sr=bzbarsky
This commit is contained in:
parent
1ab38be416
commit
c7e63b955d
@ -922,7 +922,7 @@ PRBool nsCSSScanner::ParseRef(nsresult& aErrorCode,
|
||||
{
|
||||
aToken.mIdent.SetLength(0);
|
||||
aToken.mType = eCSSToken_Ref;
|
||||
PRUnichar ch = Read(aErrorCode);
|
||||
PRInt32 ch = Read(aErrorCode);
|
||||
if (ch < 0) {
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user