scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit ee1f4c0fce40cf6436b63450a36bbe6b5b582844
parent 833e7ccfd5ba027c66cdc143c9d1ca1c154aceb8
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 10 Apr 2026 15:41:50 -0700

tests/libc: Fix type of pointer passed to wcsrtombs

This parameter is `const wchar_t **src`. Without the qualifier on
wc, we pass `wchar_t **`, which is not compatible.

Diffstat:
Mtests/libc/execute/0043-wcsrtombs.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/libc/execute/0043-wcsrtombs.c b/tests/libc/execute/0043-wcsrtombs.c @@ -54,7 +54,7 @@ static void tests_wcsrtombs(void) { size_t r; - wchar_t *wc; + const wchar_t *wc; mbstate_t st; struct wcstests *tp;