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