projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4bd92
)
util: Use size_t (for x86_64).
author
José Fonseca
<jfonseca@vmware.com>
Wed, 25 Mar 2009 20:58:53 +0000
(20:58 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 25 Mar 2009 21:01:49 +0000
(21:01 +0000)
src/gallium/auxiliary/util/u_string.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_string.h
b/src/gallium/auxiliary/util/u_string.h
index 08c89bbf7708f976422811a75bad7b593fc6cafa..cc7992d73910ec03a50012f2d302efa3e014e9cd 100644
(file)
--- 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;
-
in
t len = strlen(needle);
+
size_
t len = strlen(needle);
for (; (p = util_strchr(p, *needle)) != 0; p++) {
if (util_strncmp(p, needle, len) == 0) {