From 32eacc3f16016470151bf2d465da1eb5a4519462 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Wed, 20 Dec 2000 01:49:21 +0000 Subject: [PATCH] attempt to fix Sun OS breakage by casting enums to PRInt32. --- extensions/psm-glue/src/nsSSLIOLayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/psm-glue/src/nsSSLIOLayer.cpp b/extensions/psm-glue/src/nsSSLIOLayer.cpp index 19f9527bc2d..44cf1663856 100644 --- a/extensions/psm-glue/src/nsSSLIOLayer.cpp +++ b/extensions/psm-glue/src/nsSSLIOLayer.cpp @@ -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; }