diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-04-18 11:21:04 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-05-24 16:29:12 +0200 |
commit | 701bea793ed1d2e20d036957268a71973c975cda (patch) | |
tree | e11453562495478d0b98462e9f5c7746c611aa33 /lib/4a-hal-utilities/4a-hal-utilities-hal-streams-handler.c | |
parent | 9f9650031fcbea8401d64609778cef1b7c252990 (diff) |
Correct mistakes due to use of unsigned returns
Correct mistakes due to use of unsigned returns.
Also, simplify use of int by replacing 'int8_t'
and 'int64_t' types by plain 'int' type.
BUG-AGL: SPEC-2329
Change-Id: I24fe273c5a233762c072f7bc9e79eab32a1c824c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'lib/4a-hal-utilities/4a-hal-utilities-hal-streams-handler.c')
-rw-r--r-- | lib/4a-hal-utilities/4a-hal-utilities-hal-streams-handler.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/4a-hal-utilities/4a-hal-utilities-hal-streams-handler.c b/lib/4a-hal-utilities/4a-hal-utilities-hal-streams-handler.c index 2960537..550faaa 100644 --- a/lib/4a-hal-utilities/4a-hal-utilities-hal-streams-handler.c +++ b/lib/4a-hal-utilities/4a-hal-utilities-hal-streams-handler.c @@ -301,12 +301,12 @@ struct InternalHalMixerData *HalUtlAddStreamDataAndCreateStreamVerb(afb_api_t ap return createdStreamData; } -int8_t HalUtlRemoveStreamDataAndDeleteStreamVerb(afb_api_t apiHandle, - char *verb, - char *verbToCall, - char *streamCardId) +int HalUtlRemoveStreamDataAndDeleteStreamVerb(afb_api_t apiHandle, + char *verb, + char *verbToCall, + char *streamCardId) { - int8_t returnedErr = 0; + int returnedErr = 0; json_object *streamRemovedEventJ; |