diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-09-18 17:57:27 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-10-01 10:41:20 +0200 |
commit | c7ad57e3193b9b21f33719ea9eb84837555b094a (patch) | |
tree | c44bb646b89abe5300e1a4c2ea3640cc9c7351cb /alsa-binding | |
parent | 1990d6d7b71556589edc65bfac0e0814ead5c237 (diff) |
Correct the use of wrong variable type
Correct the use of an 'unsigned int' instead of an 'int'.
BUG-AGL: SPEC-2832
Change-Id: Iee374404c60698e9d243d0622eb1900c5cc8ae7e
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'alsa-binding')
-rw-r--r-- | alsa-binding/Alsa-SetGet.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/alsa-binding/Alsa-SetGet.c b/alsa-binding/Alsa-SetGet.c index 494c694..19b2164 100644 --- a/alsa-binding/Alsa-SetGet.c +++ b/alsa-binding/Alsa-SetGet.c @@ -736,8 +736,13 @@ STATIC json_object *getDeviceInfo(int card, int device) // Retrieve info for one given card STATIC json_object *alsaCardProbe(queryCardInfo *queryInfo) { - int cardToProbe = NO_CARD_SELECTED, playbackDeviceToProbe, multipleCardToCheck, isCardCorresponding, isDeviceCorresponding; - unsigned int searchingForDevice = 1, correspondingCard = NO_CARD_SELECTED; + int cardToProbe = NO_CARD_SELECTED, + correspondingCard = NO_CARD_SELECTED, + playbackDeviceToProbe, + multipleCardToCheck, + isCardCorresponding, + isDeviceCorresponding; + unsigned int searchingForDevice = 1; json_object *correspondingCardJ, *correspondingDeviceJ = NULL, *correspondingCardAndDeviceJ, *toReturnJ; |