summaryrefslogtreecommitdiff
path: root/basicdefs.h
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-11-03 09:56:48 -0600
committerPaolo Bonzini <bonzini@gnu.org>2010-11-03 17:13:12 +0100
commitd7b21d511ab371bda7ae5ecb3788b9ac9d5bcb5c (patch)
treedffffa7f57e5000a32b9b110ef51c730019e7173 /basicdefs.h
parentddf5e28afbf963de13b01e092cd5ec99d4cb74c5 (diff)
downloadsed-d7b21d511ab371bda7ae5ecb3788b9ac9d5bcb5c.tar.gz
avoid compiler warning
* sed/sed.c (includes): Supply missing header.
Diffstat (limited to 'basicdefs.h')
-rw-r--r--basicdefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/basicdefs.h b/basicdefs.h
index 72f7503..2e4fcb4 100644
--- a/basicdefs.h
+++ b/basicdefs.h
@@ -1,5 +1,5 @@
/* GNU SED, a batch stream editor.
- Copyright (C) 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2002, 2003, 2010 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -151,7 +151,7 @@ typedef unsigned long countT;
#undef ISPRINT
#define ISPRINT(c) (ISASCII (c) && isprint (c))
-#define ISDIGIT(c) (ISASCII (c) && isdigit (c))
+#define ISDIGIT(c) (ISASCII (c) && isdigit ((unsigned char) (c)))
#define ISALNUM(c) (ISASCII (c) && isalnum (c))
#define ISALPHA(c) (ISASCII (c) && isalpha (c))
#define ISCNTRL(c) (ISASCII (c) && iscntrl (c))