diff options
author | ache <ache@FreeBSD.org> | 2001-02-10 02:00:56 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-02-10 02:00:56 +0000 |
commit | b8bd5d2b4448a538b517e75ccd9023c33f6cc574 (patch) | |
tree | a7952da6bc8704ce0fbf5030e36beef7eb434977 /lib/libc/locale/localeconv.c | |
parent | 0ec6d3ee51e24e43ec6ad9463cbebee9edf3aa08 (diff) | |
download | FreeBSD-src-b8bd5d2b4448a538b517e75ccd9023c33f6cc574.zip FreeBSD-src-b8bd5d2b4448a538b517e75ccd9023c33f6cc574.tar.gz |
Use __XSTRING(CHAR_MAX) instead of "127" and strtol() base 0 to parse it (0x7f)
Diffstat (limited to 'lib/libc/locale/localeconv.c')
-rw-r--r-- | lib/libc/locale/localeconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/localeconv.c b/lib/libc/locale/localeconv.c index 16fa539..6e62388 100644 --- a/lib/libc/locale/localeconv.c +++ b/lib/libc/locale/localeconv.c @@ -51,7 +51,7 @@ int __nlocale_changed = 1; static char cnv(char *str) { - return (char)strtol(str, NULL, 10); + return (char)strtol(str, NULL, 0); } /* |