]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
make the formats rate unsigned to avoid a warning.
authorMike Brady <mikebrady@eircom.net>
Wed, 27 Feb 2019 19:30:32 +0000 (19:30 +0000)
committerMike Brady <mikebrady@eircom.net>
Wed, 27 Feb 2019 19:30:32 +0000 (19:30 +0000)
audio_sndio.c

index dd403894452f914ea4ff1257bce2cc645bace7a0..fcfcc4f6d460a66c3833e2a200ec017f992f58c2 100644 (file)
@@ -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;