Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak

This commit is contained in:
Michael Wu
2011-08-30 11:55:14 -07:00
parent 333f494264
commit 34247e34f4
10 changed files with 30 additions and 19 deletions

View File

@@ -344,9 +344,11 @@ nsWindowsShellService::IsDefaultBrowserVista(PRBool* aIsDefaultBrowser)
(void**)&pAAR);
if (SUCCEEDED(hr)) {
BOOL res;
hr = pAAR->QueryAppIsDefaultAll(AL_EFFECTIVE,
APP_REG_NAME,
aIsDefaultBrowser);
&res);
*aIsDefaultBrowser = res;
pAAR->Release();
return PR_TRUE;