mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-20 22:42:40 +08:00
fix return type error of rt_strcasecmp: rt_uint32_t to rt_int32_t
Signed-off-by: lihui <leehui_hrbeu71102@163.com>
This commit is contained in:
@@ -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);
|
char *rt_strncpy(char *dest, const char *src, rt_ubase_t n);
|
||||||
void *rt_memmove(void *dest, const void *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_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);
|
void rt_show_version(void);
|
||||||
|
|
||||||
|
@@ -370,7 +370,7 @@ RTM_EXPORT(rt_strstr);
|
|||||||
*
|
*
|
||||||
* @return the result
|
* @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;
|
int ca, cb;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user