lz32/tests: sign compare fix
Austin English
austinenglish at gmail.com
Fri May 8 11:45:29 CDT 2009
--
-Austin
-------------- next part --------------
diff --git a/dlls/lz32/tests/lzexpand_main.c b/dlls/lz32/tests/lzexpand_main.c
index 91fd687..b43c9e9 100644
--- a/dlls/lz32/tests/lzexpand_main.c
+++ b/dlls/lz32/tests/lzexpand_main.c
@@ -476,6 +476,7 @@ static void test_LZRead(void)
{
HANDLE file;
DWORD ret;
+ HRESULT hr;
int cfile;
OFSTRUCT test;
BOOL retok;
@@ -500,8 +501,8 @@ static void test_LZRead(void)
todo_wine {
/* Wine returns the number of bytes actually read instead of an error */
- ret = LZRead(cfile, buf, uncompressed_data_size);
- ok(ret == LZERROR_READ, "Expected read-past-EOF to return LZERROR_READ\n");
+ hr = LZRead(cfile, buf, uncompressed_data_size);
+ ok(hr == LZERROR_READ, "Expected read-past-EOF to return LZERROR_READ\n");
}
LZClose(cfile);
More information about the wine-patches
mailing list