diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-04 04:46:18 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-04 04:46:18 +0000 |
| commit | d67f4d918d26681bb822d5d0db34e5dbfc30a169 (patch) | |
| tree | 327def6bbf855d93861c38775c75b8e811e96813 /lib/libc/gen/disklabel.c | |
| parent | da488b70861b0f049307696672a0727f13b027bb (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/disklabel.c')
| -rw-r--r-- | lib/libc/gen/disklabel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c index 82a3b3c270e1..c7ac0b4f8a99 100644 --- a/lib/libc/gen/disklabel.c +++ b/lib/libc/gen/disklabel.c @@ -171,7 +171,7 @@ gettype(t, names) for (nm = names; *nm; nm++) if (strcasecmp(t, *nm) == 0) return (nm - names); - if (isdigit(*t)) + if (isdigit((unsigned char)*t)) return (atoi(t)); return (0); } |
