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>2011-06-06 10:46:18 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2011-06-06 10:46:18 -0400
commit928b460051be016d0035c90bb94f4168db68386b (patch)
treee3040eca769ed0e09c08bc543dc3ba10ce5cb3fc /WWW/Library/Implementation/HTNews.c
parent080f88a781524b40f3e5de4b10c8f22b0e7b87e4 (diff)
downloadlynx-snapshots-928b460051be016d0035c90bb94f4168db68386b.tar.gz
snapshot of project "lynx", label v2-8-8dev_8k
Diffstat (limited to 'WWW/Library/Implementation/HTNews.c')
-rw-r--r--WWW/Library/Implementation/HTNews.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTNews.c b/WWW/Library/Implementation/HTNews.c
index eda9bf58..8a24ffa7 100644
--- a/WWW/Library/Implementation/HTNews.c
+++ b/WWW/Library/Implementation/HTNews.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTNews.c,v 1.67 2010/10/27 00:10:51 tom Exp $
+ * $LynxId: HTNews.c,v 1.68 2011/06/06 08:26:22 tom Exp $
  *
  *			NEWS ACCESS				HTNews.c
  *			===========
@@ -2486,8 +2486,8 @@ static int HTLoadNews(const char *arg,
 	    }
 	    SnipIn(command, "GROUP %.*s", 9, groupName);
 	} else {
-	    size_t add_open = (strchr(p1, '<') == 0);
-	    size_t add_close = (strchr(p1, '>') == 0);
+	    size_t add_open = (size_t) (strchr(p1, '<') == 0);
+	    size_t add_close = (size_t) (strchr(p1, '>') == 0);
 
 	    if (strlen(p1) + add_open + add_close >= 252) {
 		FREE(ProxyHost);