diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-04 04:57:05 +0000 | 
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-04 04:57:05 +0000 | 
| commit | bac6a61c15adbd05803068367c1ab3a68cab7ef7 (patch) | |
| tree | bd1db9b507a3e8d1302d4583a01745749dd76853 /lib/libc/stdio/mktemp.c | |
| parent | fbc8d502c5505e254fae90e4834e9c5658d70ef2 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/mktemp.c')
| -rw-r--r-- | lib/libc/stdio/mktemp.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/mktemp.c b/lib/libc/stdio/mktemp.c index 0d1712e9e4ef..af547c618ff8 100644 --- a/lib/libc/stdio/mktemp.c +++ b/lib/libc/stdio/mktemp.c @@ -182,7 +182,7 @@ _gettemp(path, doopen, domkdir, slen)  			if (*trv == 'Z')  				*trv++ = 'a';  			else { -				if (isdigit(*trv)) +				if (isdigit((unsigned char)*trv))  					*trv = 'a';  				else if (*trv == 'z')	/* inc from z to A */  					*trv = 'A';  | 
