Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]

git-svn-id: svn://10.0.0.236/trunk@237940 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2007-10-19 23:26:53 +00:00
parent 17be277d6e
commit 3a2258a4f2
13 changed files with 30 additions and 30 deletions

View File

@@ -293,7 +293,7 @@ nsProxyObjectCallInfo::CopyStrings(PRBool copy)
PRBool
nsProxyObjectCallInfo::GetCompleted()
{
return (PRBool)mCompleted;
return !!mCompleted;
}
void

View File

@@ -244,7 +244,7 @@ public:
void SetCallersTarget(nsIEventTarget* target);
PRBool IsSync() const
{
return mOwner->GetProxyType() & NS_PROXY_SYNC;
return !!(mOwner->GetProxyType() & NS_PROXY_SYNC);
}
private: