summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-03-25 20:58:53 +0000
committerJosé Fonseca <[email protected]>2009-03-25 21:01:49 +0000
commit9fb46fb4c30fe01c9cb485f909aca502691aaa3b (patch)
treecfc160405cc21fdce5cba9a01285a7055c1ae6e0 /src
parent8c4bd92b68cf79ff94dc431f78a970bbab7e0d00 (diff)
util: Use size_t (for x86_64).
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_string.h2
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 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) {