From ee1f4c0fce40cf6436b63450a36bbe6b5b582844 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 10 Apr 2026 15:41:50 -0700 Subject: [PATCH] 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. --- tests/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 index 3de058c6..e691acac 100644 --- 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;