changeset 21435:af861f7aa8c5

Squish some warnings here too, with evil(?) casts
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 12 Nov 2007 02:29:15 +0000
parents 0463b0733a9e
children f5b8e7cf870b c54720e10706
files libpurple/protocols/silc10/util.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc10/util.c	Mon Nov 12 01:59:01 2007 +0000
+++ b/libpurple/protocols/silc10/util.c	Mon Nov 12 02:29:15 2007 +0000
@@ -667,7 +667,7 @@
 			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 @@
 				    "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)