Skip to content

Commit 6dd11e0

Browse files
committed
Fix type used in LogDebug format string
Fixes #185
1 parent c671c11 commit 6dd11e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: source/portable/mbedtls/core_pkcs11_mbedtls.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4531,7 +4531,7 @@ CK_DECLARE_FUNCTION( CK_RV, C_Sign )( CK_SESSION_HANDLE hSession,
45314531
}
45324532
else
45334533
{
4534-
LogDebug( ( "Ready to sign: xSignatureLength=%ld *pulSignatureLen=%ld", xSignatureLength, *pulSignatureLen ) );
4534+
LogDebug( ( "Ready to sign: xSignatureLength=%lu *pulSignatureLen=%lu", ( unsigned long int ) xSignatureLength, *pulSignatureLen ) );
45354535

45364536
/* Per mbed TLS documentation, if using RSA, md_alg should
45374537
* be MBEDTLS_MD_NONE. If ECDSA, md_alg should never be

0 commit comments

Comments
 (0)