aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/purple/purple.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-18 01:08:17 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-18 01:08:17 +0100
commitc96c72f16ea48ca769400ff91bd2eb434da19f6e (patch)
tree14c56fc4686812eb86448906186d6ef932cbd288 /protocols/purple/purple.c
parent5d1b3a9529f7aadab62026be0eb9f4ca0f6311ce (diff)
Little cleanup. Less compiler warnings, and removing tempfile at the
beginning of the download already to make sure it doesn't stick around.
Diffstat (limited to 'protocols/purple/purple.c')
-rw-r--r--protocols/purple/purple.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c
index eb3a4eb5..2507bfc2 100644
--- a/protocols/purple/purple.c
+++ b/protocols/purple/purple.c
@@ -141,10 +141,11 @@ static void purple_init( account_t *acc )
{
PurpleKeyValuePair *kv = io->data;
opts = g_slist_append( opts, kv->value );
+ /* TODO: kv->value is not a char*, WTF? */
if( strcmp( kv->value, kv->key ) != 0 )
- g_string_append_printf( help, "%s (%s), ", kv->value, kv->key );
+ g_string_append_printf( help, "%s (%s), ", (char*) kv->value, kv->key );
else
- g_string_append_printf( help, "%s, ", kv->value );
+ g_string_append_printf( help, "%s, ", (char*) kv->value );
}
g_string_truncate( help, help->len - 2 );
eval = set_eval_list;
@@ -454,7 +455,7 @@ void purple_chat_invite( struct groupchat *gc, char *who, char *message )
who );
}
-void purple_chat_leave( struct groupchat *gc, char *who )
+void purple_chat_leave( struct groupchat *gc )
{
PurpleConversation *pc = gc->data;