From 8555925a0448ad0267deca2355f0bf3d7fc43c2d Mon Sep 17 00:00:00 2001 From: Vincent Hardy Date: Sun, 25 Feb 2024 16:44:53 +0100 Subject: [PATCH] sign_state.c:74:23: error: incompatible pointer to integer conversion passing void to parameter of type CK_SESSION_HANDLE (aka unsigned long) [-Wint-conversion] --- tests/unit/sign_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/sign_state.c b/tests/unit/sign_state.c index f0874c7ff..239bbb1ec 100644 --- a/tests/unit/sign_state.c +++ b/tests/unit/sign_state.c @@ -71,7 +71,7 @@ TEST_FUNC(sign_state) { printf("Robot not present, can't do this test...\n"); return TEST_RV_SKIP; } - check_rv_long(C_Sign(NULL, data, sizeof(data), NULL, &sig_len), m_p11_noinit); + check_rv_long(C_Sign(NULL_PTR, data, sizeof(data), NULL, &sig_len), m_p11_noinit); check_rv(C_Initialize(NULL_PTR));