r3549 - trunk/libmsip/source

erik at minisip.org erik at minisip.org
Tue Dec 4 10:00:56 CET 2007


Author: erik
Date: 2007-12-04 10:00:56 +0100 (Tue, 04 Dec 2007)
New Revision: 3549

Modified:
   trunk/libmsip/source/SipLayerDialog.cxx
Log:

 * Attempt at a quick fix for compilation on 64 bit machines.

   I don't have a 64 bit machine, but I have received a report that
   there is a problem with the line I in this commit fix.

   There is a ambiguous overload in Dbg. My guess is that
   "int" and "long long" is the same size on that machine, but I'm not
   sure.



Modified: trunk/libmsip/source/SipLayerDialog.cxx
===================================================================
--- trunk/libmsip/source/SipLayerDialog.cxx	2007-12-02 23:54:44 UTC (rev 3548)
+++ trunk/libmsip/source/SipLayerDialog.cxx	2007-12-04 09:00:56 UTC (rev 3549)
@@ -67,7 +67,7 @@
 	size_t n = dialogs.erase(callId);
 #ifdef DEBUG_OUTPUT
 	if (n!=1){
-		merr << "WARNING: dialogs.erase should return 1, but returned "<< n<<endl;
+		merr << "WARNING: dialogs.erase should return 1, but returned "<< (short)n<<endl;
 	}
 #endif
 	return n==1;



More information about the Minisip-devel mailing list