projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote branch 'origin/master' into pipe-video
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_string.h
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) {