Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
git-svn-id: svn://10.0.0.236/trunk@237797 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -213,7 +213,7 @@ nsScriptableInputStream::ReadBoolean(PRBool* aBoolean)
|
||||
{
|
||||
PRUint8 byteResult;
|
||||
nsresult rv = Read8(&byteResult);
|
||||
*aBoolean = byteResult;
|
||||
*aBoolean = !!byteResult;
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user