From cb48ea6c6a796146fa76046496d50099a68439ea Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sun, 13 Sep 2020 07:57:15 +0000
Subject: Fix void/char type for gethostbyaddr


diff --git a/src/libproxychains.c b/src/libproxychains.c
index 318c937..ad024b9 100644
--- a/src/libproxychains.c
+++ b/src/libproxychains.c
@@ -683,7 +683,7 @@ int pc_getnameinfo(const struct sockaddr *sa, socklen_t salen,
 	return 0;
 }
 
-struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type) {
+struct hostent *gethostbyaddr(const char *addr, socklen_t len, int type) {
 	INIT();
 	PDEBUG("TODO: proper gethostbyaddr hook\n");
 
-- 
2.28.0

