index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-12-29 11:24:38 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-31 21:03:24 -0600 |
commit | 39cb865e71432fbce826d7526b1006be0e036761 (patch) | |
tree | ec001cfec042f3de231395c634d3317ff9b45358 /lib | |
parent | b264fb9e9ddcc31dc8782390309421965e507383 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index fc0e0564..2cce8247 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -1145,7 +1145,7 @@ unsigned long _alpm_hash_sdbm(const char *str) return hash; } while((c = *str++)) { - hash = c + (hash << 6) + (hash << 16) - hash; + hash = c + hash * 65599; } return hash; |