mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 13:25:00 +00:00
attempt to fix Sun OS breakage by casting enums to PRInt32.
This commit is contained in:
parent
9a459770b9
commit
88d4ce3d99
@ -560,8 +560,8 @@ nsPSMSocketInfo::GetSecurityState(PRInt32 *aSecurityState)
|
||||
if (!mPickledStatus)
|
||||
SetPickledStatus();
|
||||
|
||||
*aSecurityState = mPickledStatus ? nsIWebProgressListener::STATE_IS_SECURE
|
||||
: nsIWebProgressListener::STATE_IS_BROKEN;
|
||||
*aSecurityState = mPickledStatus ? (PRInt32) nsIWebProgressListener::STATE_IS_SECURE
|
||||
: (PRInt32) nsIWebProgressListener::STATE_IS_BROKEN;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user