Juan Lang : crypt32: Fix a compiler warning.
Alexandre Julliard
julliard at winehq.org
Wed Feb 11 09:24:38 CST 2009
Module: wine
Branch: master
Commit: d00a85f4ad05353d6a26770c0cfc8f6435f55569
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d00a85f4ad05353d6a26770c0cfc8f6435f55569
Author: Juan Lang <juan.lang at gmail.com>
Date: Tue Feb 10 11:03:11 2009 -0800
crypt32: Fix a compiler warning.
---
dlls/crypt32/tests/ctl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/tests/ctl.c b/dlls/crypt32/tests/ctl.c
index ad87632..2b65ab2 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);
More information about the wine-cvs
mailing list