diff 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
line wrap: on
line diff
--- a/libpurple/protocols/silc10/chat.c	Mon May 05 16:01:02 2008 +0000
+++ b/libpurple/protocols/silc10/chat.c	Wed May 07 00:34:52 2008 +0000
@@ -651,7 +651,7 @@
 
 typedef struct {
 	SilcPurple sg;
-	const char *channel;
+	char *channel;
 } *SilcPurpleChatInput;
 
 static void
@@ -700,7 +700,7 @@
 
 	SilcPurpleChatInput s;
 	SilcChannelEntry channel;
-	const char *ch;
+	char *ch;
 	char tmp[32];
 
 	g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node));