From: Nikolay Sivov nsivov@codeweavers.com
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/dmloader/loaderstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dmloader/loaderstream.c b/dlls/dmloader/loaderstream.c index ac926126d4a..3bfd0b33d58 100644 --- a/dlls/dmloader/loaderstream.c +++ b/dlls/dmloader/loaderstream.c @@ -407,7 +407,7 @@ static HRESULT WINAPI file_stream_Clone(IStream *iface, IStream **ret_iface) if (SUCCEEDED(hr = file_stream_create(This->path, ret_iface))) { LARGE_INTEGER position = {0}; - position.LowPart = SetFilePointer(This->file, 0, NULL, SEEK_CUR); + position.LowPart = SetFilePointer(This->file, 0, NULL, FILE_CURRENT); hr = IStream_Seek(*ret_iface, position, STREAM_SEEK_SET, NULL); }