another warning destroyed

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5731 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-03-24 04:04:10 +00:00
parent 36b9d28a83
commit 9e21bb2916

View File

@@ -130,7 +130,7 @@ int main(int argc, char **argv)
hb = malloc(strlen(fn) + 5);
sprintf(hb, "__%s__", fn);
for(p = hb; *p; p++){
if(!isalnum(*p))
if(!isalnum((unsigned char)*p))
*p = '_';
}
f = fopen(argv[1], "w");