aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-13 21:40:04 -0400
committerDave Reisner <dreisner@archlinux.org>2012-08-13 21:40:04 -0400
commite4a1dc08fb3ba9cdc3468bca451a10d393f9fe76 (patch)
tree3970d31dfad6e525c7afc2f0abf717b75b219edb
parent58ffb2e6f35ae2528d55ce92f79b42b8bc17be9c (diff)
downloadmirror-ponymix-e4a1dc08fb3ba9cdc3468bca451a10d393f9fe76.tar.gz
mirror-ponymix-e4a1dc08fb3ba9cdc3468bca451a10d393f9fe76.tar.bz2
mirror-ponymix-e4a1dc08fb3ba9cdc3468bca451a10d393f9fe76.zip
remove unneeded casts from void*
-rw-r--r--pulsemix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pulsemix.c b/pulsemix.c
index 9a3484a..accfdca 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -256,14 +256,14 @@ static void source_output_add_cb(pa_context UNUSED *c, const pa_source_output_in
static void server_info_cb(pa_context UNUSED *c, const pa_server_info *i,
void *raw)
{
- const char **sink_name = (const char **)raw;
+ const char **sink_name = raw;
*sink_name = i->default_sink_name;
}
static void source_info_cb(pa_context UNUSED *c, const pa_server_info *i, void *raw)
{
- const char **source_name = (const char **)raw;
+ const char **source_name = raw;
*source_name = i->default_source_name;
}