msi/tests: Cast-qual warning fix
Andrew Talbot
Andrew.Talbot at talbotville.com
Mon Dec 11 15:30:51 CST 2006
Changelog:
msi/tests: Cast-qual warning fix.
diff -urN a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
--- a/dlls/msi/tests/install.c 2006-11-08 17:27:17.000000000 +0000
+++ b/dlls/msi/tests/install.c 2006-12-11 18:18:48.000000000 +0000
@@ -811,6 +811,7 @@
CCAB cabParams;
HFCI hfci;
ERF erf;
+ static CHAR cab_context[] = "test%d.cab";
BOOL res;
create_file("maximus", 500);
@@ -821,7 +822,7 @@
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-patches
mailing list