From 48658c017179243b859cc3ddb01a9e0d58f8e451 Mon Sep 17 00:00:00 2001 From: wlestes Date: Fri, 3 Feb 2012 22:21:37 +0000 Subject: more careful/paranoia --- misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc.c b/misc.c index 1009dea..a65a50a 100644 --- a/misc.c +++ b/misc.c @@ -184,7 +184,7 @@ int all_lower (str) register char *str; { while (*str) { - if (!isascii ((Char) * str) || !islower (*str)) + if (!isascii ((Char) * str) || !islower ((Char) * str)) return 0; ++str; } @@ -199,7 +199,7 @@ int all_upper (str) register char *str; { while (*str) { - if (!isascii ((Char) * str) || !isupper (*str)) + if (!isascii ((Char) * str) || !isupper ((Char) * str)) return 0; ++str; } @@ -675,7 +675,7 @@ Char myesc (array) int sptr = 2; while (isascii (array[sptr]) && - isxdigit ((char) array[sptr])) + isxdigit (array[sptr])) /* Don't increment inside loop control * because if isdigit() is a macro it might * expand into multiple increments ... -- cgit v1.2.1