From 0fca0e00aaadbd9eb959d1b7b7f9e5df0de77108 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 29 Jul 2006 14:49:13 +0100 Subject: [PATCH] cabinet: Write-strings warning fix. --- dlls/cabinet/cabinet_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/cabinet/cabinet_main.c b/dlls/cabinet/cabinet_main.c index fe2739daf3a..fa8f1b4039c 100644 --- a/dlls/cabinet/cabinet_main.c +++ b/dlls/cabinet/cabinet_main.c @@ -303,6 +303,7 @@ HRESULT WINAPI Extract(EXTRACTdest *dest, LPCSTR szCabName) HRESULT res = S_OK; HFDI hfdi; ERF erf; + static CHAR empty[] = ""; TRACE("(%p, %s)\n", dest, szCabName); @@ -322,7 +323,7 @@ HRESULT WINAPI Extract(EXTRACTdest *dest, LPCSTR szCabName) if (GetFileAttributesA(dest->directory) == INVALID_FILE_ATTRIBUTES) return S_OK; - if (!FDICopy(hfdi, (LPSTR)szCabName, "", 0, + if (!FDICopy(hfdi, (LPSTR)szCabName, empty, 0, fdi_notify_extract, NULL, dest)) res = E_FAIL; -- 2.11.4.GIT