mbed TLS upgraded to 2.6.0
Fork of mbedtls by
Diff: library/debug.c
- Revision:
- 1:9ebc941037d5
- Parent:
- 0:cdf462088d13
diff -r cdf462088d13 -r 9ebc941037d5 library/debug.c --- a/library/debug.c Thu Jan 05 00:18:44 2017 +0000 +++ b/library/debug.c Fri Sep 29 18:41:59 2017 +0100 @@ -71,7 +71,7 @@ */ #if defined(MBEDTLS_THREADING_C) char idstr[20 + DEBUG_BUF_SIZE]; /* 0x + 16 nibbles + ': ' */ - mbedtls_snprintf( idstr, sizeof( idstr ), "%p: %s", ssl, str ); + mbedtls_snprintf( idstr, sizeof( idstr ), "%p: %s", (void*)ssl, str ); ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, idstr ); #else ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, str );