未验证 提交 130550d5 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3480 from leeehui/master

fix return type error of rt_strcasecmp: rt_uint32_t to rt_int32_t
......@@ -554,7 +554,7 @@ rt_int32_t rt_sscanf(const char *buf, const char *fmt, ...);
char *rt_strncpy(char *dest, const char *src, rt_ubase_t n);
void *rt_memmove(void *dest, const void *src, rt_ubase_t n);
rt_int32_t rt_memcmp(const void *cs, const void *ct, rt_ubase_t count);
rt_uint32_t rt_strcasecmp(const char *a, const char *b);
rt_int32_t rt_strcasecmp(const char *a, const char *b);
void rt_show_version(void);
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册