fix windows build broken by previous commit

fixes build failure from 1c41f1ca6252faaa7750936c67562f1866a48075
This commit is contained in:
Andrew Kelley 2018-04-22 21:08:52 -04:00
parent 1c41f1ca62
commit 25dff91fa0

View File

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