diff options
author | Luca Barbieri <[email protected]> | 2010-09-22 13:54:07 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-09-22 13:54:07 +0200 |
commit | cac1565b98c7450ef5c74660e8145e300b3f8d7f (patch) | |
tree | a24a57e13c822c68c1125d75c018708a480b3ae8 /src/gallium/state_trackers | |
parent | d83b7a69a0aeece9d7ba68c1b161656988009bfa (diff) |
d3d1x: fix segfault when hashing
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h b/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h index 55cbd4a7199..6c13a9ccb4e 100644 --- a/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h +++ b/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h @@ -762,7 +762,7 @@ static inline size_t raw_hash(const char* p, size_t size) const char* end = p + size; for(; p != end; ++p) { - res ^= (size_t)*p++; + res ^= (size_t)*p; if(sizeof(size_t) >= 8) res *= (size_t)1099511628211ULL; else |