aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-v850.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/cpu-v850.c')
-rw-r--r--bfd/cpu-v850.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/cpu-v850.c b/bfd/cpu-v850.c
index 359c2c4..8836362 100644
--- a/bfd/cpu-v850.c
+++ b/bfd/cpu-v850.c
@@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
-
-#include <ctype.h>
+#include "safe-ctype.h"
static boolean scan PARAMS ((const struct bfd_arch_info *, const char *));
@@ -59,7 +58,7 @@ scan (info, string)
return info->the_default;
number = 0;
- while (isdigit ((unsigned char) *ptr_src))
+ while (ISDIGIT (*ptr_src))
{
number = number * 10 + * ptr_src - '0';
ptr_src ++;