diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2018-08-07 15:23:19 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-08-08 09:26:32 +0200 |
commit | ccea3b45b0e45abcbe7e17e91c4659c9e68d8ef5 (patch) | |
tree | cabeacb6092c691fcc65a1c5218f6c747167bdb0 /newlib/libc/locale | |
parent | 0283642f35ce019589a6263b7eb0646776fca157 (diff) | |
download | newlib-ccea3b45b0e45abcbe7e17e91c4659c9e68d8ef5.zip newlib-ccea3b45b0e45abcbe7e17e91c4659c9e68d8ef5.tar.gz newlib-ccea3b45b0e45abcbe7e17e91c4659c9e68d8ef5.tar.bz2 |
newlib: newlocale: fix typo rendering ctype_ptr invalid
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/locale')
-rw-r--r-- | newlib/libc/locale/newlocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/locale/newlocale.c b/newlib/libc/locale/newlocale.c index c6c2a9c..0789d5fd 100644 --- a/newlib/libc/locale/newlocale.c +++ b/newlib/libc/locale/newlocale.c @@ -147,7 +147,7 @@ _newlocale_r (struct _reent *p, int category_mask, const char *locale, tmp_locale.wctomb = base->wctomb; tmp_locale.mbtowc = base->mbtowc; tmp_locale.cjk_lang = base->cjk_lang; - tmp_locale.ctype_ptr - base->ctype_ptr; + tmp_locale.ctype_ptr = base->ctype_ptr; } #ifdef __HAVE_LOCALE_INFO__ /* Mark the values as "has still to be copied". We do this in |