summaryrefslogtreecommitdiffstats
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
commit147abdfd8d84ece0ac7a6520b06ed74f10ed7afa (patch)
tree2e51e3800a9ddc4bb710cf889202b1819e3519ac /string.c
parent6e0bd95aa8270ba0cc5f793357b2ca8f12f322ab (diff)
downloadruby-147abdfd8d84ece0ac7a6520b06ed74f10ed7afa.tar.gz
ruby-147abdfd8d84ece0ac7a6520b06ed74f10ed7afa.tar.xz
ruby-147abdfd8d84ece0ac7a6520b06ed74f10ed7afa.zip
* string.c (hash): fixed typo. [ruby-dev:37791]
git-svn-id: http://svn.ruby-lang.org/repos/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 f6027df07..1764d69c8 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);