Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/opcservices/compress.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/opcservices/compress.c b/dlls/opcservices/compress.c index 0f4555bdff..cf49f17aaa 100644 --- a/dlls/opcservices/compress.c +++ b/dlls/opcservices/compress.c @@ -134,6 +134,7 @@ HRESULT compress_create_archive(IStream *output, struct zip_archive **out)
archive->output = output; IStream_AddRef(archive->output); + archive->position = 0;
GetSystemTimeAsFileTime(&ft); FileTimeToDosDateTime(&ft, &date, &time);