about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTNews.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2006-10-02 20:07:15 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2006-10-02 20:07:15 -0400
commit967f9ea52f38f17bec14ba24a89f020db1f8d407 (patch)
tree3c5a0d2046cdc4bd12bb721c98cdc1a6baeef5de /WWW/Library/Implementation/HTNews.c
parent29b077007f10f28f8e16ec608e490c0fc28e183a (diff)
downloadlynx-snapshots-967f9ea52f38f17bec14ba24a89f020db1f8d407.tar.gz
snapshot of project "lynx", label v2-8-6pre_5
Diffstat (limited to 'WWW/Library/Implementation/HTNews.c')
-rw-r--r--WWW/Library/Implementation/HTNews.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTNews.c b/WWW/Library/Implementation/HTNews.c
index bea534fa..611d7f1e 100644
--- a/WWW/Library/Implementation/HTNews.c
+++ b/WWW/Library/Implementation/HTNews.c
@@ -772,7 +772,7 @@ static void write_anchor(const char *text, const char *addr)
 	strncat(q, addr, p - addr);	/* Make complete hypertext reference */
     } else {
 	q = NULL;
-	HTSprintf0(&q, "%s%.*s", NewsHREF, p - addr, addr);
+	HTSprintf0(&q, "%s%.*s", NewsHREF, (int) (p - addr), addr);
     }
 
     start_anchor(q);