win: fix const correctness compiler errors

This commit is contained in:
apocelipes 2026-03-09 15:31:14 +08:00
parent a19ceeb13a
commit 57d10e74fe

View File

@ -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, uv__convert_utf16_to_utf8(cpu_brand,
cpu_brand_size / sizeof(WCHAR), cpu_brand_size / sizeof(WCHAR),
&(cpu_info->model)); (char**) &(cpu_info->model));
} }
uv__free(sppi); uv__free(sppi);