diff options
author | Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im> | 2013-04-15 00:48:17 +0200 |
---|---|---|
committer | Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im> | 2013-04-15 00:48:17 +0200 |
commit | e035632caa341d9584f889b4306838c51879ba6b (patch) | |
tree | bca15c30e9e18e2766f8e470ed1440109c6bdfed /finch/gntnotify.c | |
parent | 9b7557c8515b3ed26e924e11a5221e743ef9d44c (diff) | |
download | pidgin-e035632caa341d9584f889b4306838c51879ba6b.tar.gz |
Fix most of warnings for gtk2 and linux
Diffstat (limited to 'finch/gntnotify.c')
-rw-r--r-- | finch/gntnotify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/finch/gntnotify.c b/finch/gntnotify.c index 103495dc93..dde80cf711 100644 --- a/finch/gntnotify.c +++ b/finch/gntnotify.c @@ -88,13 +88,13 @@ finch_notify_message(PurpleNotifyMsgType type, const char *title, * PurpleNotifyType. Also, the if() followed by the * inner switch doesn't make much sense. */ - if (type == PURPLE_NOTIFY_FORMATTED) { + if ((int)type == (int)PURPLE_NOTIFY_FORMATTED) { int width = -1, height = -1; char *plain = (char*)secondary; msg = gnt_text_view_new(); gnt_text_view_set_flag(GNT_TEXT_VIEW(msg), GNT_TEXT_VIEW_TOP_ALIGN | GNT_TEXT_VIEW_NO_SCROLL); - switch (type) { - case PURPLE_NOTIFY_FORMATTED: + switch ((int)type) { + case (int)PURPLE_NOTIFY_FORMATTED: plain = purple_markup_strip_html(secondary); if (gnt_util_parse_xhtml_to_textview(secondary, GNT_TEXT_VIEW(msg))) break; |