From 6cdf71da80873c7071c3edb3a5fae78feda35da8 Mon Sep 17 00:00:00 2001 From: apocelipes Date: Thu, 12 Mar 2026 04:14:59 +0800 Subject: [PATCH] win: fix const correctness compiler error (#5049) --- src/win/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/util.c b/src/win/util.c index fec07b269..bd9f7a67c 100644 --- a/src/win/util.c +++ b/src/win/util.c @@ -627,7 +627,7 @@ int uv_cpu_info(uv_cpu_info_t** cpu_infos_ptr, int* cpu_count_ptr) { uv__convert_utf16_to_utf8(cpu_brand, cpu_brand_size / sizeof(WCHAR), - &(cpu_info->model)); + (char**) &(cpu_info->model)); } uv__free(sppi);