Sfoglia il codice sorgente

- more suncc warning fixes

Andrei Pelinescu-Onciul 23 anni fa
parent
commit
637c732035
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      resolve.h

+ 2 - 1
resolve.h

@@ -96,7 +96,8 @@ void free_rdata_list(struct rdata* head);
 
 
 
-#define rev_resolvehost(ip) gethostbyaddr((ip)->u.addr, (ip)->len, (ip)->af);
+#define rev_resolvehost(ip)\
+					gethostbyaddr((char*)(ip)->u.addr, (ip)->len, (ip)->af);