m4-commit@gnu.org
[Top] [All Lists]

Changes to m4/m4/input.c,v

Subject: Changes to m4/m4/input.c,v
From: Eric Blake
Date: Sat, 11 Nov 2006 14:00:30 +0000
CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/11/11 14:00:29

Index: m4/input.c
===================================================================
RCS file: /sources/m4/m4/m4/input.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- m4/input.c  27 Oct 2006 17:03:51 -0000      1.56
+++ m4/input.c  11 Nov 2006 14:00:28 -0000      1.57
@@ -450,7 +450,7 @@
 static int
 string_peek (m4_input_block *me)
 {
-  int ch = (unsigned char) *me->u.u_s.current;
+  int ch = to_uchar (*me->u.u_s.current);
 
   return (ch == '\0') ? CHAR_RETRY : ch;
 }
@@ -459,7 +459,7 @@
 string_read (m4_input_block *me, m4 *context M4_GNUC_UNUSED,
             bool retry M4_GNUC_UNUSED)
 {
-  int ch = (unsigned char) *me->u.u_s.current;
+  int ch = to_uchar (*me->u.u_s.current);
   if (ch == '\0')
     return CHAR_RETRY;
   me->u.u_s.current++;


<Prev in Thread] Current Thread [Next in Thread>