diff --git a/frontend/updater/updater.cpp b/frontend/updater/updater.cpp index 978a2974f..db125e1ef 100644 --- a/frontend/updater/updater.cpp +++ b/frontend/updater/updater.cpp @@ -217,7 +217,7 @@ static string QuickReadFile(const wchar_t *path) static bool QuickWriteFile(const wchar_t *file, const void *data, size_t size) try { - WinHandle handle = CreateFile(file, GENERIC_WRITE, 0, nullptr, CREATE_ALWAYS, FILE_FLAG_WRITE_THROUGH, nullptr); + WinHandle handle = CreateFile(file, GENERIC_WRITE, 0, nullptr, CREATE_ALWAYS, 0, nullptr); if (handle == INVALID_HANDLE_VALUE) throw LastError();