mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Silence some warnings
This commit is contained in:
@@ -73,7 +73,7 @@ FAR char *strcasestr(FAR const char *str, FAR const char *substr)
|
||||
{
|
||||
FAR const char *candidate; /* Candidate in str with matching start character */
|
||||
char ch; /* First character of the substring */
|
||||
int len; /* The length of the substring */
|
||||
size_t len; /* The length of the substring */
|
||||
|
||||
/* Special case the empty substring */
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ FAR char *strstr(FAR const char *str, FAR const char *substr)
|
||||
{
|
||||
FAR const char *candidate; /* Candidate in str with matching start character */
|
||||
char ch; /* First character of the substring */
|
||||
int len; /* The length of the substring */
|
||||
size_t len; /* The length of the substring */
|
||||
|
||||
/* Special case the empty substring */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user