aboutsummaryrefslogtreecommitdiff
path: root/test/run-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-tests.c')
-rw-r--r--test/run-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run-tests.c b/test/run-tests.c
index 17fb0e0c..a5007e24 100644
--- a/test/run-tests.c
+++ b/test/run-tests.c
@@ -223,7 +223,7 @@ static int maybe_run_test(int argc, char **argv) {
ASSERT_GT((intptr_t) closed_fd, 0);
ASSERT_GT((intptr_t) open_fd, 0);
ASSERT_NE(0, GetHandleInformation(open_fd, &flags));
- kernelbase_module = GetModuleHandleA("kernelbase.dll");
+ kernelbase_module = GetModuleHandleW(L"kernelbase.dll");
pCompareObjectHandles = (sCompareObjectHandles)
GetProcAddress(kernelbase_module, "CompareObjectHandles");
ASSERT_NE(pCompareObjectHandles == NULL || \