Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-01-17 19:09:55 +0400
committerrofl0r <retnyg@gmx.net>2012-01-17 19:09:55 +0400
commitc3a0f677fbc78859de0d3e4b61b694c151b23ef1 (patch)
tree3e9ae5d38666441ec218441aca93a8909d03cd46
parent3bd07fca00fcb47ac77ccf417d64217f82130dcb (diff)
fix signedness of hashfunc
-rw-r--r--src/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index bb1488c..17cc66d 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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++;