summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlihui <[email protected]>2020-03-24 18:59:31 +0800
committerlihui <[email protected]>2020-03-24 18:59:31 +0800
commitd0ebdc54d42f9985e2316f8db58b3e6c65582f66 (patch)
treedb77e7d656f3a4a4e1901798d523f0474e1c001d /src
parent5ddb0d51c022f9b10028143de740fa5becf3739f (diff)
fix return type error of rt_strcasecmp: rt_uint32_t to rt_int32_t
Signed-off-by: lihui <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/kservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kservice.c b/src/kservice.c
index 0a8786e17a..1705ce5283 100644
--- a/src/kservice.c
+++ b/src/kservice.c
@@ -370,7 +370,7 @@ RTM_EXPORT(rt_strstr);
*
* @return the result
*/
-rt_uint32_t rt_strcasecmp(const char *a, const char *b)
+rt_int32_t rt_strcasecmp(const char *a, const char *b)
{
int ca, cb;