pidgin: e329deab: g_strdup'ed strings aren't const char*. ...

sadrul at pidgin.im sadrul at pidgin.im
Tue May 6 22:55:48 EDT 2008


-----------------------------------------------------------------
Revision: e329deab9a997b434a84c2b7837324aee4f73e51
Ancestor: 79640e5d8ef63294f565d44aa56de5f46611c506
Author: sadrul at pidgin.im
Date: 2008-05-07T00:34:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e329deab9a997b434a84c2b7837324aee4f73e51

Modified files:
        libpurple/protocols/silc/chat.c
        libpurple/protocols/silc10/chat.c

ChangeLog: 

g_strdup'ed strings aren't const char*. This fixes a couple of compile
warnings.

-------------- next part --------------
============================================================
--- libpurple/protocols/silc/chat.c	269087fd5bb3485c0892cb95938c0a34e40314af
+++ libpurple/protocols/silc/chat.c	887b15c0645ce16bcd0bf37aba919f6228dd97fc
@@ -670,7 +670,7 @@ typedef struct {
 
 typedef struct {
 	SilcPurple sg;
-	const char *channel;
+	char *channel;
 } *SilcPurpleChatInput;
 
 static void
@@ -723,7 +723,7 @@ silcpurple_chat_ulimit(PurpleBlistNode *
 
 	SilcPurpleChatInput s;
 	SilcChannelEntry channel;
-	const char *ch;
+	char *ch;
 	char tmp[32];
 
 	g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node));
============================================================
--- libpurple/protocols/silc10/chat.c	d202a75104c8ded93e99f373753b6cb6727b906a
+++ libpurple/protocols/silc10/chat.c	9f3d442d7c142e237ea46c41977ad8873b1de7a5
@@ -651,7 +651,7 @@ typedef struct {
 
 typedef struct {
 	SilcPurple sg;
-	const char *channel;
+	char *channel;
 } *SilcPurpleChatInput;
 
 static void
@@ -700,7 +700,7 @@ silcpurple_chat_ulimit(PurpleBlistNode *
 
 	SilcPurpleChatInput s;
 	SilcChannelEntry channel;
-	const char *ch;
+	char *ch;
 	char tmp[32];
 
 	g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node));


More information about the Commits mailing list