lz32/tests: Write-strings warning fix
Andrew Talbot
Andrew.Talbot at talbotville.com
Wed Aug 2 12:19:51 CDT 2006
Changelog:
lz32/tests: Write-strings warning fix.
diff -urN a/dlls/lz32/tests/lzexpand_main.c b/dlls/lz32/tests/lzexpand_main.c
--- a/dlls/lz32/tests/lzexpand_main.c 2006-06-21 11:27:14.000000000 +0100
+++ b/dlls/lz32/tests/lzexpand_main.c 2006-08-02 18:00:40.000000000 +0100
@@ -62,10 +62,11 @@
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,
More information about the wine-patches
mailing list