aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-11 12:45:57 +0100
committerMax Kellermann <max@duempel.org>2009-12-11 12:45:57 +0100
commit8f7bc70bf5e47da66e57e5606b978ba3ee975d89 (patch)
tree943ab6d2f3d0a7f354eaf674aa9ef2fb58f9b76d
parent5a354a1ed4addd7bc757af8da797c768580454c2 (diff)
downloadmpd-8f7bc70bf5e47da66e57e5606b978ba3ee975d89.tar.gz
mpd-8f7bc70bf5e47da66e57e5606b978ba3ee975d89.tar.xz
mpd-8f7bc70bf5e47da66e57e5606b978ba3ee975d89.zip
decoder/wavpack: don't use the nonstandard "uchar" type
Use the signed C99 type int8_t instead.
-rw-r--r--src/decoder/wavpack_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c
index 821536fb5..645c8962e 100644
--- a/src/decoder/wavpack_plugin.c
+++ b/src/decoder/wavpack_plugin.c
@@ -72,7 +72,7 @@ format_samples_int(int bytes_per_sample, void *buffer, uint32_t count)
switch (bytes_per_sample) {
case 1: {
- uchar *dst = buffer;
+ int8_t *dst = buffer;
/*
* The asserts like the following one are because we do the
* formatting of samples within a single buffer. The size