… | … | ||
---|---|---|---|
177 | static U32 | 177 | static U32 |
178 | lru_hash (SV *dbh, SV *sql) | 178 | lru_hash (SV *dbh, SV *sql) |
179 | { | 179 | { |
180 | STRLEN i, l; | 180 | STRLEN i, l; |
181 | char *b = SvPV (sql, l); | 181 | char *b = SvPV (sql, l); |
182 | U32 hash = 2166136261; | 182 | U32 hash = 2166136261U; |
183 | 183 | ||
184 | hash = (hash ^ (U32)dbh) * 16777619U; | 184 | hash = (hash ^ (U32)dbh) * 16777619U; |
185 | hash = (hash ^ l) * 16777619U; | 185 | hash = (hash ^ l) * 16777619U; |
186 | 186 | ||
187 | for (i = 7; i < l; i += i >> 2) | 187 | for (i = 7; i < l; i += i >> 2) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |