From dc393b98596a4d306c386f0610b280539b1126f0 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Wed, 27 Feb 2019 19:30:32 +0000 Subject: [PATCH] make the formats rate unsigned to avoid a warning. --- audio_sndio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio_sndio.c b/audio_sndio.c index dd403894..fcfcc4f6 100644 --- a/audio_sndio.c +++ b/audio_sndio.c @@ -65,7 +65,7 @@ struct sio_par par; struct sndio_formats { const char *name; enum sps_format_t fmt; - int rate; + unsigned int rate; unsigned int bits; unsigned int bps; unsigned int sig;