From: José Fonseca Date: Wed, 25 Mar 2009 20:58:53 +0000 (+0000) Subject: util: Use size_t (for x86_64). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9fb46fb4c30fe01c9cb485f909aca502691aaa3b;p=mesa.git util: Use size_t (for x86_64). --- diff --git a/src/gallium/auxiliary/util/u_string.h b/src/gallium/auxiliary/util/u_string.h index 08c89bbf770..cc7992d7391 100644 --- a/src/gallium/auxiliary/util/u_string.h +++ b/src/gallium/auxiliary/util/u_string.h @@ -130,7 +130,7 @@ static INLINE char * util_strstr(const char *haystack, const char *needle) { const char *p = haystack; - int len = strlen(needle); + size_t len = strlen(needle); for (; (p = util_strchr(p, *needle)) != 0; p++) { if (util_strncmp(p, needle, len) == 0) {