1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-16 10:33:04 +08:00

fix signedness of hashfunc

This commit is contained in:
rofl0r
2012-01-17 16:09:55 +01:00
Unverified
parent 3bd07fca00
commit c3a0f677fb
+2 -1
View File
@@ -48,7 +48,8 @@ extern int proxychains_quiet_mode;
internal_ip_lookup_table internal_ips = {0, 0, NULL};
uint32_t dalias_hash(char* s) {
uint32_t dalias_hash(char* s0) {
unsigned char* s = (void*) s0;
uint_fast32_t h = 0;
while (*s) {
h = 16*h + *s++;