diff options
Diffstat (limited to '')
-rw-r--r-- | src/ClientProcess.cxx (renamed from src/client_process.c) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client_process.c b/src/ClientProcess.cxx index 7217b35ab..284c4d862 100644 --- a/src/client_process.c +++ b/src/ClientProcess.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -18,9 +18,9 @@ */ #include "config.h" -#include "client_internal.h" -#include "protocol/result.h" -#include "AllCommands.h" +#include "ClientInternal.hxx" +#include "protocol/Result.hxx" +#include "AllCommands.hxx" #include <string.h> @@ -35,7 +35,7 @@ client_process_command_list(struct client *client, bool list_ok, GSList *list) unsigned num = 0; for (GSList *cur = list; cur != NULL; cur = g_slist_next(cur)) { - char *cmd = cur->data; + char *cmd = (char *)cur->data; g_debug("command_process_list: process command \"%s\"", cmd); |