Andrew Talbot : msi/tests: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Dec 12 08:42:08 CST 2006


Module: wine
Branch: master
Commit: ebd6f7d1cec37e7777847ab19566a2051a0c1007
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ebd6f7d1cec37e7777847ab19566a2051a0c1007

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon Dec 11 21:30:51 2006 +0000

msi/tests: Cast-qual warning fix.

---

 dlls/msi/tests/install.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 86d67b0..3541ab2 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -811,6 +811,7 @@ static void create_cc_test_files(void)
     CCAB cabParams;
     HFCI hfci;
     ERF erf;
+    static CHAR cab_context[] = "test%d.cab";
     BOOL res;
 
     create_file("maximus", 500);
@@ -821,7 +822,7 @@ static void create_cc_test_files(void)
 
     hfci = FCICreate(&erf, file_placed, mem_alloc, mem_free, fci_open,
                       fci_read, fci_write, fci_close, fci_seek, fci_delete,
-                      get_temp_file, &cabParams, (void*)"test%d.cab");
+                      get_temp_file, &cabParams, cab_context);
     ok(hfci != NULL, "Failed to create an FCI context\n");
 
     /* spews out hundreds of cab files.  re-enable when cabinet.dll is fixed */




More information about the wine-cvs mailing list