attempt to fix Sun OS breakage by casting enums to PRInt32.

This commit is contained in:
mscott%netscape.com 2000-12-20 01:49:21 +00:00
parent 9a459770b9
commit 88d4ce3d99

View File

@ -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;
}