ntdll-Vista_Threadpool: Fix compiler warning on x86_64.

This commit is contained in:
Sebastian Lackner 2015-05-09 04:20:50 +02:00
parent 6fb06b865c
commit da0ebd230f

View File

@ -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 <sebastian@fds-team.de>
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