summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlestes <wlestes>2012-02-03 22:21:37 +0000
committerwlestes <wlestes>2012-02-03 22:21:37 +0000
commit48658c017179243b859cc3ddb01a9e0d58f8e451 (patch)
treedd224c0e0015885db692d0d221249ff591c4c933
parent0fba1571f33d4cc7b4c4fdde2a1e2ec0e7f8568f (diff)
downloadflex-48658c017179243b859cc3ddb01a9e0d58f8e451.tar.gz
more careful/paranoia
-rw-r--r--misc.c6
1 files 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 ...