diff options
author | Karl Ramm <kcr@mit.edu> | 2008-01-21 07:57:32 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2008-01-21 07:57:32 +0000 |
commit | ee442551e1531712226a3a3ba26afff466100bb5 (patch) | |
tree | d7907b07baecce7abe3940bec566b3bf56596f2f /zwgc/character_class.c | |
parent | e6fb0737027ee97d911e8d507b1db37446067d10 (diff) |
passes gcc -Wall with no warnings other than des cryppt C_block sadness and getsid problem
Diffstat (limited to 'zwgc/character_class.c')
-rw-r--r-- | zwgc/character_class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zwgc/character_class.c b/zwgc/character_class.c index a11aa86..2f3c433 100644 --- a/zwgc/character_class.c +++ b/zwgc/character_class.c @@ -37,7 +37,7 @@ string_to_character_class(string str) (void) memset(cache, 0, sizeof(cache)); for (i=0; i<strlen(str); i++) - cache[str[i]] = 1; + cache[(int)str[i]] = 1; return(cache); } |