changeset 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 750813c2db46
children 28005860d2c9
files libpurple/protocols/silc/chat.c libpurple/protocols/silc10/chat.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
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));
--- 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));