aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pcm_utils.h6
1 files changed, 2 insertions, 4 deletions
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,