diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | m4/macro.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2009-06-15 Eric Blake <ebb9@byu.net> + + Avoid compiler warning. + * m4/macro.c (process_macro): Use correct type for isdigit. + 2009-06-13 Eric Blake <ebb9@byu.net> Avoid snprintf link failures. @@ -740,7 +740,8 @@ process_macro (m4 *context, m4_symbol_value *value, m4_obstack *obs, syntax instead of $10; see http://lists.gnu.org/archive/html/m4-discuss/2006-08/msg00028.html for more discussion. */ - if (m4_get_posixly_correct_opt (context) || !isdigit(text[1])) + if (m4_get_posixly_correct_opt (context) + || !isdigit (to_uchar (text[1]))) { i = *text++ - '0'; len--; |