Index: source/drivers/mozab/bootstrap/MNSProfile.cxx =================================================================== RCS file: /cvs/dba/connectivity/source/drivers/mozab/bootstrap/MNSProfile.cxx,v retrieving revision 1.3 retrieving revision 1.3.36.1 diff -u -r1.3 -r1.3.36.1 --- source/drivers/mozab/bootstrap/MNSProfile.cxx 8 Sep 2005 06:24:31 -0000 1.3 +++ source/drivers/mozab/bootstrap/MNSProfile.cxx 23 Nov 2005 15:40:59 -0000 1.3.36.1 @@ -370,7 +370,7 @@ // if shutDownType is not a well know value, skip the notifications // see DoOnShutdown() in nsAppRunner.cpp for where we use this behaviour to our benefit - if (shutDownType == SHUTDOWN_PERSIST || shutDownType == SHUTDOWN_CLEANSE) { + if (shutDownType == (PRUint32)SHUTDOWN_PERSIST || shutDownType == (PRUint32)SHUTDOWN_CLEANSE ) { nsCOMPtr observerService = do_GetService("@mozilla.org/observer-service;1", &rv); NS_ENSURE_TRUE(observerService, NS_ERROR_FAILURE); @@ -379,7 +379,7 @@ NS_NAMED_LITERAL_STRING(cleanseString, "shutdown-cleanse"); NS_NAMED_LITERAL_STRING(persistString, "shutdown-persist"); - const nsAFlatString& context = (shutDownType == SHUTDOWN_CLEANSE) ? cleanseString : persistString; + const nsAFlatString& context = (shutDownType == (PRUint32)SHUTDOWN_CLEANSE) ? cleanseString : persistString; // Phase 1: See if anybody objects to the profile being changed. mProfileChangeVetoed = PR_FALSE; Index: source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx =================================================================== RCS file: /cvs/dba/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx,v retrieving revision 1.4 retrieving revision 1.4.36.1 diff -u -r1.4 -r1.4.36.1 --- source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx 8 Sep 2005 06:28:06 -0000 1.4 +++ source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx 23 Nov 2005 15:41:00 -0000 1.4.36.1 @@ -303,7 +303,7 @@ case nsILDAPMessage::RES_BIND: rv = aMessage->GetErrorCode(&errCode); // if the login failed - if (errCode != nsILDAPErrors::SUCCESS) { + if (errCode != (PRInt32)nsILDAPErrors::SUCCESS) { setConnectionStatus( sal_False ); } else