comparison libpurple/protocols/silc10/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 dccfd999ffe7
children caa533b62902
comparison
equal deleted inserted replaced
22823:750813c2db46 22824:29235834c692
649 "+f", NULL); 649 "+f", NULL);
650 } 650 }
651 651
652 typedef struct { 652 typedef struct {
653 SilcPurple sg; 653 SilcPurple sg;
654 const char *channel; 654 char *channel;
655 } *SilcPurpleChatInput; 655 } *SilcPurpleChatInput;
656 656
657 static void 657 static void
658 silcpurple_chat_ulimit_cb(SilcPurpleChatInput s, const char *limit) 658 silcpurple_chat_ulimit_cb(SilcPurpleChatInput s, const char *limit)
659 { 659 {
698 PurpleConnection *gc; 698 PurpleConnection *gc;
699 SilcPurple sg; 699 SilcPurple sg;
700 700
701 SilcPurpleChatInput s; 701 SilcPurpleChatInput s;
702 SilcChannelEntry channel; 702 SilcChannelEntry channel;
703 const char *ch; 703 char *ch;
704 char tmp[32]; 704 char tmp[32];
705 705
706 g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node)); 706 g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node));
707 707
708 chat = (PurpleChat *) node; 708 chat = (PurpleChat *) node;