about summary refs log tree commit diff stats
path: root/WWW/Library
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2017-04-30 18:45:06 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2017-04-30 18:45:06 +0000
commit79de0ed75de47a025bfacb8c491cb5dcb9144c36 (patch)
tree13c3c0bf8fd3454438809755fa9b7140ae12d623 /WWW/Library
parente878db685c213ee53b890b38ec5f2a0c92774a66 (diff)
downloadlynx-snapshots-79de0ed75de47a025bfacb8c491cb5dcb9144c36.tar.gz
snapshot of project "lynx", label v2-8-9dev_13a
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTTCP.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTTCP.c b/WWW/Library/Implementation/HTTCP.c
index f1648712..87de04b9 100644
--- a/WWW/Library/Implementation/HTTCP.c
+++ b/WWW/Library/Implementation/HTTCP.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTTCP.c,v 1.137 2017/01/02 02:11:14 tom Exp $
+ * $LynxId: HTTCP.c,v 1.138 2017/04/30 17:52:00 tom Exp $
  *
  *			Generic Communication Code		HTTCP.c
  *			==========================
@@ -389,7 +389,7 @@ static void dump_hostent(const char *msgprefix,
 
 	CTRACE((tfp, "%s: %p ", msgprefix, (const void *) phost));
 	if (phost) {
-	    CTRACE((tfp, "{ h_name = %p", phost->h_name));
+	    CTRACE((tfp, "{ h_name = %p", (void *) phost->h_name));
 	    if (phost->h_name) {
 		CTRACE((tfp, " \"%s\",", phost->h_name));
 	    } else {
@@ -401,7 +401,7 @@ static void dump_hostent(const char *msgprefix,
 		for (pcnt = phost->h_aliases; *pcnt; pcnt++) {
 		    CTRACE((tfp, "%s %p \"%s\"",
 			    (pcnt == phost->h_aliases ? " " : ", "),
-			    *pcnt, *pcnt));
+			    (void *) *pcnt, *pcnt));
 		}
 		CTRACE((tfp, "%s0x0 },\n\t",
 			(*phost->h_aliases ? ", " : " ")));
@@ -416,7 +416,7 @@ static void dump_hostent(const char *msgprefix,
 		for (pcnt = phost->h_addr_list; *pcnt; pcnt++) {
 		    CTRACE((tfp, "%s %p",
 			    (pcnt == phost->h_addr_list ? "" : ","),
-			    *pcnt));
+			    (void *) *pcnt));
 		    for (i = 0; i < phost->h_length; i++) {
 			CTRACE((tfp, "%s%d%s", (i == 0 ? " \"" : "."),
 				(int) *((unsigned char *) (*pcnt) + i),