From 87f5d017a4514d4440998b62e2d83a815ccf225d Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Mon, 27 May 2019 02:34:32 +0900 Subject: [PATCH] [KERNEL32_APITEST] Fix build --- modules/rostests/apitests/kernel32/SetComputerNameExW.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rostests/apitests/kernel32/SetComputerNameExW.c b/modules/rostests/apitests/kernel32/SetComputerNameExW.c index fc55c96f150..50192654005 100644 --- a/modules/rostests/apitests/kernel32/SetComputerNameExW.c +++ b/modules/rostests/apitests/kernel32/SetComputerNameExW.c @@ -49,9 +49,9 @@ START_TEST(SetComputerNameExW) /* Open keys */ hKeyHN = OpenHostNameKey(); - ok(hKeyHN, "hKeyHN is NULL\n"); + ok(hKeyHN != NULL, "hKeyHN is NULL\n"); hKeyCN = OpenComputerNameKey(); - ok(hKeyCN, "hKeyCN is NULL\n"); + ok(hKeyCN != NULL, "hKeyCN is NULL\n"); if (!hKeyHN || !hKeyCN) { if (hKeyHN)