From 5e085751f513e2a56c03dd4fe68fc39996579755 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Wed, 21 Nov 2007 14:02:03 +0000 Subject: A better way to do the last patch (extremely minor patch) git-svn-id: https://svn.musicpd.org/mpd/trunk@7042 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/pcm_utils.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/pcm_utils.h b/src/pcm_utils.h index 0d0e08959..1b7757be0 100644 --- a/src/pcm_utils.h +++ b/src/pcm_utils.h @@ -38,11 +38,9 @@ typedef struct _ConvState { mpd_sint8 lastChannels; mpd_sint32 lastInSampleRate; mpd_sint32 lastOutSampleRate; - int error; -#else - /* Strict C99 doesn't allow empty structs */ - void *__padding; #endif + /* Strict C99 doesn't allow empty structs */ + int error; } ConvState; void pcm_volumeChange(char *buffer, int bufferSize, AudioFormat * format, -- cgit v1.2.3