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:
tglek%mozilla.com
2007-10-15 23:40:10 +00:00
parent fc03689f23
commit 2d15c72df2
13 changed files with 30 additions and 30 deletions

View File

@@ -213,7 +213,7 @@ nsScriptableInputStream::ReadBoolean(PRBool* aBoolean)
{
PRUint8 byteResult;
nsresult rv = Read8(&byteResult);
*aBoolean = byteResult;
*aBoolean = !!byteResult;
return rv;
}