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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/msn
From:       Adriaan de Groot <groot () kde ! org>
Date:       2008-04-21 18:51:35
Message-ID: 1208803895.629211.20603.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 799522 by adridg:

cmath puts ceil in namespace std but doesn't necessarily use that

 M  +1 -1      msnswitchboardsocket.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp #799521:799522
@@ -781,7 +781,7 @@
 		int futurmessages_size=1400;  //1400 is a common good size
 		//int futurmessages_size=1664-len_H;
 
-		int nb=(int)ceil((float)(len_M)/(float)(futurmessages_size));
+		int nb=(int)std::ceil((float)(len_M)/(float)(futurmessages_size));
 
 		if(KMessageBox::warningContinueCancel(0L /* FIXME: we should try to find a parent somewere*/ ,
 			i18n("The message you are trying to send is too long; it will be split into %1 messages.", nb) ,
[prev in list] [next in list] [prev in thread] [next in thread] 

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