From 55e1717a36e2ec47ca3984cc62ea1296d93b9a30 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 9 Jul 1996 14:48:41 +0000 Subject: [PATCH] Tue Jul 9 09:37:55 1996 Roland McGrath * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs. --- stdlib/mbstowcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/mbstowcs.c b/stdlib/mbstowcs.c index 8eda3ba41d..da3ae6b19d 100644 --- a/stdlib/mbstowcs.c +++ b/stdlib/mbstowcs.c @@ -36,7 +36,7 @@ mbstowcs (wchar_t *pwcs, const char *s, size_t n) mbstate_t save_shift = __no_r_state; size_t written; - written = mbsrtowcs (pwcs, s, n, &__no_r_state); + written = mbsrtowcs (pwcs, &s, n, &__no_r_state); /* Restore the old shift state. */ __no_r_state = save_shift; -- 2.11.4.GIT