summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-19 18:42:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-19 18:42:46 +0000
commitd66c0cf36843b44461faef59d554c15e740e88ac (patch)
tree2e51e3800a9ddc4bb710cf889202b1819e3519ac /string.c
parent108377fc6bf8c7279b969cca973e07a8d6bda62e (diff)
downloadruby-d66c0cf36843b44461faef59d554c15e740e88ac.tar.gz
* string.c (hash): fixed typo. [ruby-dev:37791]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index f6027df076..1764d69c8a 100644
--- a/string.c
+++ b/string.c
@@ -1973,7 +1973,7 @@ hash(const unsigned char * data, int len, unsigned int h)
#else
t = (t >> sr) | (d << sl);
#endif
- h = murmur(h, t);
+ h = murmur_step(h, t);
t = d;
data += sizeof(uint32_t);
len -= sizeof(uint32_t);