aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-01-27 23:12:30 +0000
committerEric Wong <normalperson@yhbt.net>2008-01-27 23:12:30 +0000
commit51f874c0b35e9d14207663fb59b801c2495a9f21 (patch)
tree09f49e9ea09f849fbbab8520cbbe92d7ab3912b9
parentd1ab8e2441ec33ec2200dd8b22f30b7802967a3b (diff)
downloadmpd-51f874c0b35e9d14207663fb59b801c2495a9f21.tar.gz
mpd-51f874c0b35e9d14207663fb59b801c2495a9f21.tar.xz
mpd-51f874c0b35e9d14207663fb59b801c2495a9f21.zip
Fix Sun C 5.9 / C99 compatiblity
From sbh, r7041 and r7042 from trunk git-svn-id: https://svn.musicpd.org/mpd/branches/branch-0.13.0-fixes@7173 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/pcm_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_utils.h b/src/pcm_utils.h
index 2c6610a75..33cc53ac3 100644
--- a/src/pcm_utils.h
+++ b/src/pcm_utils.h
@@ -38,8 +38,8 @@ typedef struct _ConvState {
mpd_sint8 lastChannels;
mpd_sint32 lastInSampleRate;
mpd_sint32 lastOutSampleRate;
- int error;
#endif
+ int error;
} ConvState;
void pcm_volumeChange(char *buffer, int bufferSize, AudioFormat * format,