diff options
author | Eric Blake <ebb9@byu.net> | 2009-06-15 09:46:34 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-06-15 21:26:17 -0600 |
commit | db30dc297c6c4ba4d333120820d935304d804c46 (patch) | |
tree | 8bc1348b83d2f93b9a52f7b4ae36ffc3b0616bc9 /m4 | |
parent | e6a31a7b140bc717b5320e1dcb588eea46a6839c (diff) | |
download | m4-db30dc297c6c4ba4d333120820d935304d804c46.tar.gz |
Avoid compiler warning.
* m4/macro.c (process_macro): Use correct type for isdigit.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/macro.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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--; |