projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed minor gcc warnings
[libcds.git]
/
test
/
stress
/
framework
/
city.cpp
diff --git
a/test/stress/framework/city.cpp
b/test/stress/framework/city.cpp
index bb4b34063e7cd81d1670dd9bca312f64700e95b0..aeac8e5dd9e7f213faa556c8df5d66cb99eb4a57 100644
(file)
--- a/
test/stress/framework/city.cpp
+++ b/
test/stress/framework/city.cpp
@@
-153,7
+153,7
@@
static uint32 Hash32Len13to24(const char *s, size_t len) {
static uint32 Hash32Len0to4(const char *s, size_t len) {
uint32 b = 0;
uint32 c = 9;
- for (
in
t i = 0; i < len; i++) {
+ for (
size_
t i = 0; i < len; i++) {
signed char v = s[i];
b = b * c1 + v;
c ^= b;