| ... | @@ -1334,7 +1334,7 @@ com_done:; | ... | @@ -1334,7 +1334,7 @@ com_done:; |
| 1334 | | 1334 | |
| 1335 | int os_get_win32_ucrt_lib_path(ZigWindowsSDK *sdk, Buf* output_buf, ZigLLVM_ArchType platform_type) { | 1335 | int os_get_win32_ucrt_lib_path(ZigWindowsSDK *sdk, Buf* output_buf, ZigLLVM_ArchType platform_type) { |
| 1336 | #if defined(ZIG_OS_WINDOWS) | 1336 | #if defined(ZIG_OS_WINDOWS) |
| 1337 | if (buf_len(sdk->path10) == 0 || buf_len(sdk->version10) == 0) { | 1337 | if (buf_len(&sdk->path10) == 0 || buf_len(&sdk->version10) == 0) { |
| 1338 | return ErrorFileNotFound; | 1338 | return ErrorFileNotFound; |
| 1339 | } | 1339 | } |
| 1340 | buf_resize(output_buf, 0); | 1340 | buf_resize(output_buf, 0); |