Description: Fix warnings about %d format and size_t.
Author: Tim Retout <diocles@debian.org>

--- imspector.orig/msnprotocolplugin.cpp	2010-08-16 21:29:52.000000000 +0100
+++ imspector/msnprotocolplugin.cpp	2010-08-16 21:31:12.000000000 +0100
@@ -209,14 +209,14 @@
 	if (response.outgoing)
 	{
 		snprintf(replybuffer, BUFFER_SIZE - 1,
-			"MSG 1 U %d\r\n" \
-			"%s", body.length(), body.c_str());
+			"MSG 1 U %lu\r\n" \
+			"%s", (unsigned long)body.length(), body.c_str());
 	}
 	else
 	{
 		snprintf(replybuffer, BUFFER_SIZE - 1,
-			"MSG %s %s %d\r\n" \
-			"%s", remoteid.c_str(), remoteid.c_str(), body.length(), body.c_str());
+			"MSG %s %s %lu\r\n" \
+			"%s", remoteid.c_str(), remoteid.c_str(), (unsigned long)body.length(), body.c_str());
 	}
 	
 	*replybufferlength = strlen(replybuffer);
Index: imspector/yahooprotocolplugin.cpp
===================================================================
--- imspector.orig/yahooprotocolplugin.cpp	2010-08-16 21:29:56.000000000 +0100
+++ imspector/yahooprotocolplugin.cpp	2010-08-16 21:33:03.000000000 +0100
@@ -378,7 +378,7 @@
 			YAHOO_SERVICE_MESSAGE, tagvaluebuffer);
 
 		if (response.outgoing)
-			snprintf(contentlengthbuffer, BUFFER_SIZE - 1, "content-length: %d\r\n\r\n", strlen(xmlbuffer));
+			snprintf(contentlengthbuffer, BUFFER_SIZE - 1, "content-length: %lu\r\n\r\n", (unsigned long)strlen(xmlbuffer));
 
 		snprintf(replybuffer, BUFFER_SIZE, "%s%s", contentlengthbuffer, xmlbuffer);
 	
