From da0ebd230f570801d23f58127aaf5e19b2c7e528 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 9 May 2015 04:20:50 +0200 Subject: [PATCH] ntdll-Vista_Threadpool: Fix compiler warning on x86_64. --- ...tdll-tests-Add-tests-for-threadpool-wait-objects.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/ntdll-Vista_Threadpool/0019-ntdll-tests-Add-tests-for-threadpool-wait-objects.patch b/patches/ntdll-Vista_Threadpool/0019-ntdll-tests-Add-tests-for-threadpool-wait-objects.patch index 903c0c08..9408d85e 100644 --- a/patches/ntdll-Vista_Threadpool/0019-ntdll-tests-Add-tests-for-threadpool-wait-objects.patch +++ b/patches/ntdll-Vista_Threadpool/0019-ntdll-tests-Add-tests-for-threadpool-wait-objects.patch @@ -1,4 +1,4 @@ -From 274f80bef1283a43868aedf0ea55f5b842ceff86 Mon Sep 17 00:00:00 2001 +From 8f4a1b78d16cd1977ef52c55b0729db006fcfb2b Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 6 Feb 2015 20:09:41 +0100 Subject: ntdll/tests: Add tests for threadpool wait objects. @@ -8,7 +8,7 @@ Subject: ntdll/tests: Add tests for threadpool wait objects. 1 file changed, 287 insertions(+) diff --git a/dlls/ntdll/tests/threadpool.c b/dlls/ntdll/tests/threadpool.c -index b44b0f5..91d1b95 100644 +index b44b0f5..0e845ce 100644 --- a/dlls/ntdll/tests/threadpool.c +++ b/dlls/ntdll/tests/threadpool.c @@ -770,6 +770,291 @@ static void test_tp_window_length(void) @@ -238,7 +238,7 @@ index b44b0f5..91d1b95 100644 + ok(semaphores[i] != NULL, "failed to create semaphores[%d]\n", i); + + waits[i] = NULL; -+ status = pTpAllocWait(&waits[i], multi_wait_cb, (void *)i, &environment); ++ status = pTpAllocWait(&waits[i], multi_wait_cb, (void *)(DWORD_PTR)i, &environment); + ok(!status, "TpAllocWait failed with status %x\n", status); + ok(waits[i] != NULL, "expected waits[%d] != NULL\n", i); + @@ -313,5 +313,5 @@ index b44b0f5..91d1b95 100644 /* FIXME: Make sure worker threads have terminated before. */ Sleep(100); -- -2.3.3 +2.4.0