im.pidgin.pidgin: de1466ca783e119020d8a9f1ee13bff841a668b9

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sun Nov 11 21:35:33 EST 2007


-----------------------------------------------------------------
Revision: de1466ca783e119020d8a9f1ee13bff841a668b9
Ancestor: 3bf89f84516e841cba4ac3577a4f6b7cf3a01a22
Author: nosnilmot at pidgin.im
Date: 2007-11-12T02:29:15
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/silc10/util.c

ChangeLog: 

Squish some warnings here too, with evil(?) casts

-------------- next part --------------
============================================================
--- libpurple/protocols/silc10/util.c	66dae3e9b6ad739b5c86f830f11ef11db4ef30d7
+++ libpurple/protocols/silc10/util.c	1c91591c9e601b034b640e1bf7a174fca9669af3
@@ -667,7 +667,7 @@ SilcDList silcpurple_image_message(const
 			text = purple_unescape_html(tmp);
 			g_free(tmp);
 			/* Add text */
-			silc_mime_add_data(p, text, strlen(text));
+			silc_mime_add_data(p, (unsigned char *)text, strlen(text));
 			g_free(text);
 
 			if (!parts)
@@ -720,7 +720,7 @@ SilcDList silcpurple_image_message(const
 				    "text/plain; charset=utf-8");
 
 		/* Add text */
-		silc_mime_add_data(p, tmp, strlen(tmp));
+		silc_mime_add_data(p, (unsigned char *)tmp, strlen(tmp));
 		g_free(tmp);
 
 		if (!parts)


More information about the Commits mailing list