From d00a85f4ad05353d6a26770c0cfc8f6435f55569 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Tue, 10 Feb 2009 11:03:11 -0800 Subject: [PATCH] crypt32: Fix a compiler warning. --- dlls/crypt32/tests/ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/tests/ctl.c b/dlls/crypt32/tests/ctl.c index ad876322a8f..2b65ab21275 100644 --- a/dlls/crypt32/tests/ctl.c +++ b/dlls/crypt32/tests/ctl.c @@ -138,7 +138,7 @@ static void testCreateCTL(void) ok((!ctl && (GetLastError() == ERROR_INVALID_DATA || GetLastError() == CRYPT_E_UNEXPECTED_MSG_TYPE /* win9x */)) || - broken(ctl /* some win98 */), + broken(ctl != NULL /* some win98 */), "expected ERROR_INVALID_DATA, got %d (0x%08x)\n", GetLastError(), GetLastError()); SetLastError(0xdeadbeef); @@ -147,7 +147,7 @@ static void testCreateCTL(void) ok((!ctl && (GetLastError() == ERROR_INVALID_DATA || GetLastError() == CRYPT_E_UNEXPECTED_MSG_TYPE /* win9x */)) || - broken(ctl /* some win98 */), + broken(ctl != NULL /* some win98 */), "expected ERROR_INVALID_DATA, got %d (0x%08x)\n", GetLastError(), GetLastError()); SetLastError(0xdeadbeef);