From a4dfab2aee0650970af4244c8f4b6c4d738d6c0c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 23 Feb 2009 09:34:26 +0100 Subject: output: pass the music chunk pointer as void*, not char* The meaning of the chunk depends on the audio format; don't suggest a specific format by declaring the pointer as "char*", pass "void*" instead. --- src/output_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output_internal.h') diff --git a/src/output_internal.h b/src/output_internal.h index 7d02ea679..c5ed7652a 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -113,7 +113,7 @@ struct audio_output { */ union { struct { - const char *data; + const void *data; size_t size; } play; -- cgit v1.2.3