diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2006-10-02 20:07:15 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2006-10-02 20:07:15 -0400 |
commit | 967f9ea52f38f17bec14ba24a89f020db1f8d407 (patch) | |
tree | 3c5a0d2046cdc4bd12bb721c98cdc1a6baeef5de /WWW/Library/Implementation/HTNews.c | |
parent | 29b077007f10f28f8e16ec608e490c0fc28e183a (diff) | |
download | lynx-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.c | 2 |
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); |