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);