From b113c12c350c29a0f7f06fba12f06d86e79de1f4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 28 Jul 1999 22:39:04 +0000 Subject: Update. 1999-07-28 Ulrich Drepper * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits to print. * misc/efgcvt_r.c: Likewise. * misc/qefgcvt.c: Likewise. * misc/qefgcvt_r.c: Likewise. * misc/tst-efgcvt.c: Remove one test which cannot reliably be run anymore. --- stdlib/wctomb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/wctomb.c') diff --git a/stdlib/wctomb.c b/stdlib/wctomb.c index 757e6adaad..174bbf46c2 100644 --- a/stdlib/wctomb.c +++ b/stdlib/wctomb.c @@ -44,7 +44,7 @@ wctomb (char *s, wchar_t wchar) /* This is an extension in the Unix standard which does not directly violate ISO C. */ - memset (&__no_r_state, '\0', siyeof __no_r_state); + memset (&__no_r_state, '\0', sizeof __no_r_state); return __wcsmbs_gconv_fcts.tomb->__stateful; } -- cgit v1.2.3