| 1 | From ee1f4c0fce40cf6436b63450a36bbe6b5b582844 Mon Sep 17 00:00:00 2001
|
| 2 | From: Michael Forney <[email protected]>
|
| 3 | Date: Fri, 10 Apr 2026 15:41:50 -0700
|
| 4 | Subject: [PATCH] tests/libc: Fix type of pointer passed to wcsrtombs
|
| 5 |
|
| 6 | This parameter is `const wchar_t **src`. Without the qualifier on
|
| 7 | wc, we pass `wchar_t **`, which is not compatible.
|
| 8 | ---
|
| 9 | tests/libc/execute/0043-wcsrtombs.c | 2 +-
|
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-)
|
| 11 |
|
| 12 | diff --git a/tests/libc/execute/0043-wcsrtombs.c b/tests/libc/execute/0043-wcsrtombs.c
|
| 13 | index 3de058c6..e691acac 100644
|
| 14 | |
| 15 | |
| 16 | @@ -54,7 +54,7 @@ static void
|
| 17 | tests_wcsrtombs(void)
|
| 18 | {
|
| 19 | size_t r;
|
| 20 | - wchar_t *wc;
|
| 21 | + const wchar_t *wc;
|
| 22 | mbstate_t st;
|
| 23 | struct wcstests *tp;
|
| 24 |
|