diff options
| author | christos <christos@NetBSD.org> | 1999-03-19 12:56:16 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1999-03-19 12:56:16 +0000 |
| commit | 1452d0f916a39fbbcc024d065da219238bf4d698 (patch) | |
| tree | 8125b5c42b5eb3b97e2836dcb65e6d8635e29905 /lib/libc/stdio | |
| parent | 7d0129b726dde71eb78ca01f9f436b5d945a90fa (diff) | |
braces for gcc-2.8.1
Diffstat (limited to 'lib/libc/stdio')
| -rw-r--r-- | lib/libc/stdio/gettemp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/gettemp.c b/lib/libc/stdio/gettemp.c index 702dcfe6a84..d3b59c8ab55 100644 --- a/lib/libc/stdio/gettemp.c +++ b/lib/libc/stdio/gettemp.c @@ -1,4 +1,4 @@ -/* $NetBSD: gettemp.c,v 1.2 1998/07/27 16:05:07 mycroft Exp $ */ +/* $NetBSD: gettemp.c,v 1.3 1999/03/19 12:56:16 christos Exp $ */ /* * Copyright (c) 1987, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)mktemp.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: gettemp.c,v 1.2 1998/07/27 16:05:07 mycroft Exp $"); +__RCSID("$NetBSD: gettemp.c,v 1.3 1999/03/19 12:56:16 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -143,7 +143,7 @@ __gettemp(path, doopen, domkdir) if (*trv == 'z') *trv++ = 'a'; else { - if (isdigit(*trv)) + if (isdigit((unsigned char)*trv)) *trv = 'a'; else ++*trv; |
