[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2005-01-17 17:25:02
Message-ID: 20050117172502.5F3131D02C () office ! kde ! org
[Download RAW message or body]

CVS commit by kainhofe: 

compiler warnings-- (qDebug format params, unused parameters, floating point values \
assigned to int variables)


  M +1 -1      kresources/groupwise/soap/groupwiseserver.cpp   1.30
  M +2 -2      libkpimexchange/core/exchangedownload.cpp   1.27
  M +1 -1      libksieve/parser/parser.cpp   1.5


--- kdepim/libksieve/parser/parser.cpp  #1.4:1.5
@@ -102,5 +102,5 @@ static inline unsigned long factorForQua
 
 static inline bool willOverflowULong( unsigned long result, unsigned long add ) {
-  static const unsigned long maxULongByTen = ULONG_MAX / 10.0 ;
+  static const unsigned long maxULongByTen = (unsigned long)(ULONG_MAX / 10.0) ;
   return result > maxULongByTen || ULONG_MAX - 10 * result < add ;
 }

--- kdepim/libkpimexchange/core/exchangedownload.cpp  #1.26:1.27
@@ -87,6 +87,6 @@ void ExchangeDownload::download( KCal::C
   mEvents = 0;
 
-#if 0
   if( showProgress ) {
+#if 0
     //kdDebug() << "Creating progress dialog" << endl;
     mProgress = new ExchangeProgress();
@@ -97,6 +97,6 @@ void ExchangeDownload::download( KCal::C
     connect( this, SIGNAL(finishDownload() ), mProgress,
              SLOT( slotTransferFinished() ) );
-  }
 #endif
+  }
 
   QString sql = dateSelectQuery( start, end.addDays( 1 ) );

--- kdepim/kresources/groupwise/soap/groupwiseserver.cpp  #1.29:1.30
@@ -225,5 +225,5 @@ size_t GroupwiseServer::gSoapReceiveCall
       qDebug("%s", p );
       qDebug("\n*************************");
-      qDebug("kioReceiveCallback return %d", ret);
+      qDebug("kioReceiveCallback return %ld", ret);
     }
     log( "RECV", s, ret );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic