Mercurial > pidgin
diff libpurple/protocols/silc10/util.c @ 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 | 6de09629f091 |
children | 665e04562de0 |
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)