Commit 369ac64a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

lz32/tests: Write-strings warning fix.

parent a8bc5190
......@@ -62,10 +62,11 @@ static void test_LZOpenFileA(void)
INT file;
char expected[MAX_PATH];
char filled_0xA5[OFS_MAXPATHNAME];
static char badfilename_[] = "badfilename_";
SetLastError(0xfaceabee);
/* Check for nonexistent file. */
file = LZOpenFileA("badfilename_", &test, OF_READ);
file = LZOpenFileA(badfilename_, &test, OF_READ);
ok(file == LZERROR_BADINHANDLE,
"LZOpenFileA succeeded on nonexistent file\n");
ok(GetLastError() == ERROR_FILE_NOT_FOUND,
......
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