Mercurial > pidgin.yaz
comparison libpurple/protocols/silc/chat.c @ 22824:29235834c692
g_strdup'ed strings aren't const char*. This fixes a couple of compile
warnings.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 07 May 2008 00:34:52 +0000 |
parents | 67a4c8c46f78 |
children | caa533b62902 |
comparison
equal
deleted
inserted
replaced
22823:750813c2db46 | 22824:29235834c692 |
---|---|
668 "+f", NULL); | 668 "+f", NULL); |
669 } | 669 } |
670 | 670 |
671 typedef struct { | 671 typedef struct { |
672 SilcPurple sg; | 672 SilcPurple sg; |
673 const char *channel; | 673 char *channel; |
674 } *SilcPurpleChatInput; | 674 } *SilcPurpleChatInput; |
675 | 675 |
676 static void | 676 static void |
677 silcpurple_chat_ulimit_cb(SilcPurpleChatInput s, const char *limit) | 677 silcpurple_chat_ulimit_cb(SilcPurpleChatInput s, const char *limit) |
678 { | 678 { |
721 PurpleConnection *gc; | 721 PurpleConnection *gc; |
722 SilcPurple sg; | 722 SilcPurple sg; |
723 | 723 |
724 SilcPurpleChatInput s; | 724 SilcPurpleChatInput s; |
725 SilcChannelEntry channel; | 725 SilcChannelEntry channel; |
726 const char *ch; | 726 char *ch; |
727 char tmp[32]; | 727 char tmp[32]; |
728 | 728 |
729 g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node)); | 729 g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node)); |
730 | 730 |
731 chat = (PurpleChat *) node; | 731 chat = (PurpleChat *) node; |