From ed9a66862f98aadea91f407b28ae5c1259cbad19 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 24 Jan 2015 09:42:35 +0100 Subject: [PATCH] ntdll-LZNT1_Compression: Fix warnings in tests on x86_64. --- ...l-tests-Add-tests-for-Rtl-Decompress-Compress-Bu.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/ntdll-LZNT1_Compression/0004-ntdll-tests-Add-tests-for-Rtl-Decompress-Compress-Bu.patch b/patches/ntdll-LZNT1_Compression/0004-ntdll-tests-Add-tests-for-Rtl-Decompress-Compress-Bu.patch index 5439b5f4..e1927c85 100644 --- a/patches/ntdll-LZNT1_Compression/0004-ntdll-tests-Add-tests-for-Rtl-Decompress-Compress-Bu.patch +++ b/patches/ntdll-LZNT1_Compression/0004-ntdll-tests-Add-tests-for-Rtl-Decompress-Compress-Bu.patch @@ -1,4 +1,4 @@ -From ab32af3b920cce657cdb5b41bc04b6a77c9181cf Mon Sep 17 00:00:00 2001 +From cced4a3d6938fe54b949dcff24a645d6f3e8b015 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 30 Oct 2014 17:41:11 +0100 Subject: ntdll/tests: Add tests for Rtl[Decompress|Compress]Buffer and @@ -9,7 +9,7 @@ Subject: ntdll/tests: Add tests for Rtl[Decompress|Compress]Buffer and 1 file changed, 740 insertions(+) diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c -index e8eb04a..3ddb76a 100644 +index e8eb04a..2f6c421 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c @@ -92,6 +92,10 @@ static NTSTATUS (WINAPI *pRtlIpv4StringToAddressA)(PCSTR, BOOLEAN, PCSTR *, IN_ @@ -755,7 +755,7 @@ index e8eb04a..3ddb76a 100644 + ok(status == STATUS_SUCCESS, "got wrong status 0x%08x\n", status); + ok(final_size == sizeof(test_buffer), "got wrong final_size %d\n", final_size); + ok(!memcmp(buf2, test_buffer, sizeof(test_buffer)), "got wrong decoded data\n"); -+ ok(buf2[sizeof(test_buffer)] == 0x11, "buf[%d] overwritten\n", sizeof(test_buffer)); ++ ok(buf2[sizeof(test_buffer)] == 0x11, "buf[%u] overwritten\n", (DWORD)sizeof(test_buffer)); + + /* buffer too small */ + final_size = 0xdeadbeef; @@ -778,5 +778,5 @@ index e8eb04a..3ddb76a 100644 + test_RtlCompressBuffer(); } -- -2.1.2 +2.2.1