about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/SGML.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2010-09-22 10:53:56 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2010-09-22 10:53:56 -0400
commitbf665822fc371159c9fc6630ab805638c58ab299 (patch)
treea85a0ee9a271bf9cde1108daca90b657f0aed5f9 /WWW/Library/Implementation/SGML.c
parent2bfdbc116276afc90c803427e7af7b44a0c11c66 (diff)
downloadlynx-snapshots-bf665822fc371159c9fc6630ab805638c58ab299.tar.gz
snapshot of project "lynx", label v2-8-8dev_5b
Diffstat (limited to 'WWW/Library/Implementation/SGML.c')
-rw-r--r--WWW/Library/Implementation/SGML.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c
index 0bd56de8..22132597 100644
--- a/WWW/Library/Implementation/SGML.c
+++ b/WWW/Library/Implementation/SGML.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: SGML.c,v 1.135 2010/06/18 09:59:35 tom Exp $
+ * $LynxId: SGML.c,v 1.136 2010/09/22 00:53:49 tom Exp $
  *
  *			General SGML Parser code		SGML.c
  *			========================
@@ -4281,7 +4281,9 @@ static void SGML_character(HTStream *context, char c_in)
 		    c = UCH((clong & 0xff));
 		}
 		saved_char_in = '\0';
-		context->include_index = puni - context->active_include + 1;
+		context->include_index = (int) (puni
+						- context->active_include
+						+ 1);
 		goto top1;
 	    } else {
 		/*