Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2018-08-07 16:23:19 +0300
committerCorinna Vinschen <corinna@vinschen.de>2018-08-08 10:26:32 +0300
commitccea3b45b0e45abcbe7e17e91c4659c9e68d8ef5 (patch)
treecabeacb6092c691fcc65a1c5218f6c747167bdb0 /newlib/libc/locale
parent0283642f35ce019589a6263b7eb0646776fca157 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/locale/newlocale.c b/newlib/libc/locale/newlocale.c
index c6c2a9ca9..0789d5fd9 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