aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-api-zones.c
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-05-22 10:59:30 +0200
committerThierry Bultel <thierry.bultel@iot.bzh>2018-05-22 10:59:30 +0200
commit89ddd7e4af936b4c049f6c8de5925fe0b9a78b13 (patch)
tree68ad9af5bc2d73f1394cd750627e7c85a034718b /plugins/alsa/alsa-api-zones.c
parent2af80583a462fa0f71d0250bca03db5a4cf22fe8 (diff)
Fixed compilation warnings with gcc-7.2.0
Replaced some 'size_t' by 'int' Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'plugins/alsa/alsa-api-zones.c')
-rw-r--r--plugins/alsa/alsa-api-zones.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/alsa/alsa-api-zones.c b/plugins/alsa/alsa-api-zones.c
index 8f383df..27bf72a 100644
--- a/plugins/alsa/alsa-api-zones.c
+++ b/plugins/alsa/alsa-api-zones.c
@@ -98,7 +98,7 @@ PUBLIC int SndZones(CtlSourceT *source, json_object *argsJ) {
SoftMixerHandleT *mixerHandle = (SoftMixerHandleT*) source->context;
AlsaSndZoneT *zones=NULL;
int error;
- size_t count;
+ int count;
assert(mixerHandle);
@@ -153,4 +153,4 @@ PUBLIC int SndZones(CtlSourceT *source, json_object *argsJ) {
OnErrorExit:
if (zones) free(zones);
return -1;
-} \ No newline at end of file
+}