Tag: cws_src680_warnings01
User: sb      
Date: 06/01/25 12:58:20

Modified:
 /dba/connectivity/source/drivers/mozab/bootstrap/
  MNSProfile.cxx

Log:
 RESYNC: (1.3-1.4); FILE MERGED

File Changes:

Directory: /dba/connectivity/source/drivers/mozab/bootstrap/
============================================================

File [changed]: MNSProfile.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/bootstrap/MNSProfile.cxx?r1=1.3.30.3&r2=1.3.30.4
Delta lines:  +7 -7
-------------------
--- MNSProfile.cxx      22 Dec 2005 11:44:53 -0000      1.3.30.3
+++ MNSProfile.cxx      25 Jan 2006 20:58:13 -0000      1.3.30.4
@@ -331,7 +331,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<nsIObserverService> observerService =
         do_GetService("@mozilla.org/observer-service;1", &rv);
       NS_ENSURE_TRUE(observerService, NS_ERROR_FAILURE);
@@ -340,7 +340,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;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to