From 6101dc6c768b09dbcdc1840a84b619a5a6a20129 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Oct 2008 14:03:33 +0200 Subject: audio_format: unsigned integers "bits" and "channels" cannot be negative. --- src/audio_format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audio_format.h') diff --git a/src/audio_format.h b/src/audio_format.h index 794ebaaff..dd9b3cae8 100644 --- a/src/audio_format.h +++ b/src/audio_format.h @@ -24,8 +24,8 @@ struct audio_format { uint32_t sampleRate; - int8_t bits; - int8_t channels; + uint8_t bits; + uint8_t channels; }; static inline void audio_format_clear(struct audio_format *af) -- cgit v1.2.3