diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-03-25 20:58:53 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-03-25 21:01:49 +0000 |
commit | 9fb46fb4c30fe01c9cb485f909aca502691aaa3b (patch) | |
tree | cfc160405cc21fdce5cba9a01285a7055c1ae6e0 /src | |
parent | 8c4bd92b68cf79ff94dc431f78a970bbab7e0d00 (diff) |
util: Use size_t (for x86_64).
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_string.h b/src/gallium/auxiliary/util/u_string.h index 08c89bbf77..cc7992d739 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) { |