/cpw/tomkiewicz/masterpassword: b9e24fbc6e29: Don't cast const g...

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Wed May 1 08:18:27 EDT 2013


Changeset: b9e24fbc6e2929d4436e610db45d6fdb847dc33e
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-05-01 14:18 +0200
Branch:	 soc.2008.masterpassword
URL: https://hg.pidgin.im/cpw/tomkiewicz/masterpassword/rev/b9e24fbc6e29

Description:

Don't cast const gchar* to gchar*

diffstat:

 libpurple/plugins/keyrings/kwallet.cpp |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (24 lines):

diff --git a/libpurple/plugins/keyrings/kwallet.cpp b/libpurple/plugins/keyrings/kwallet.cpp
--- a/libpurple/plugins/keyrings/kwallet.cpp
+++ b/libpurple/plugins/keyrings/kwallet.cpp
@@ -553,13 +553,13 @@ PurplePluginInfo plugininfo =
 	PURPLE_PLUGIN_FLAG_INVISIBLE,		/* flags */
 	NULL,					/* dependencies */
 	PURPLE_PRIORITY_DEFAULT,		/* priority */
-	(char*)KWALLET_ID,			/* id */
-	(char*)KWALLET_NAME,			/* name */
-	(char*)DISPLAY_VERSION,			/* version */
-	(char*)"KWallet Keyring Plugin",	/* summary */
-	(char*)KWALLET_DESCRIPTION,		/* description */
-	(char*)KWALLET_AUTHOR,			/* author */
-	(char*)PURPLE_WEBSITE,			/* homepage */
+	KWALLET_ID,				/* id */
+	KWALLET_NAME,				/* name */
+	DISPLAY_VERSION,			/* version */
+	"KWallet Keyring Plugin",		/* summary */
+	KWALLET_DESCRIPTION,			/* description */
+	KWALLET_AUTHOR,				/* author */
+	PURPLE_WEBSITE,				/* homepage */
 	kwallet_load,				/* load */
 	kwallet_unload,				/* unload */
 	NULL,					/* destroy */



More information about the Commits mailing list