Commit 64db35a9 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

cabinet/tests: Write-strings warnings fix.

parent eed737ea
...@@ -298,6 +298,10 @@ static void create_cab_file(void) ...@@ -298,6 +298,10 @@ static void create_cab_file(void)
CCAB cabParams; CCAB cabParams;
HFCI hfci; HFCI hfci;
ERF erf; ERF erf;
static CHAR a_txt[] = "a.txt",
b_txt[] = "b.txt",
testdir_c_txt[] = "testdir\\c.txt",
testdir_d_txt[] = "testdir\\d.txt";
BOOL res; BOOL res;
set_cab_parameters(&cabParams); set_cab_parameters(&cabParams);
...@@ -308,10 +312,10 @@ static void create_cab_file(void) ...@@ -308,10 +312,10 @@ static void create_cab_file(void)
ok(hfci != NULL, "Failed to create an FCI context\n"); ok(hfci != NULL, "Failed to create an FCI context\n");
add_file(hfci, "a.txt"); add_file(hfci, a_txt);
add_file(hfci, "b.txt"); add_file(hfci, b_txt);
add_file(hfci, "testdir\\c.txt"); add_file(hfci, testdir_c_txt);
add_file(hfci, "testdir\\d.txt"); add_file(hfci, testdir_d_txt);
res = FCIFlushCabinet(hfci, FALSE, get_next_cabinet, progress); res = FCIFlushCabinet(hfci, FALSE, get_next_cabinet, progress);
ok(res, "Failed to flush the cabinet\n"); ok(res, "Failed to flush the cabinet\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment