aboutsummaryrefslogtreecommitdiff
path: root/libc/string/strstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strstr.c')
-rw-r--r--libc/string/strstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strstr.c b/libc/string/strstr.c
index 3e090d2..a6e9618 100644
--- a/libc/string/strstr.c
+++ b/libc/string/strstr.c
@@ -16,7 +16,7 @@ char *
strstr(const char *hay, const char *needle)
{
char *pos;
- int hlen, nlen;
+ size_t hlen, nlen;
if (hay == NULL || needle == NULL)
return NULL;