mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-18 04:45:22 +00:00
- Added fixes for compiler warnings on a Mac
This commit is contained in:
parent
f80d4539d1
commit
4ed999c4b2
3 changed files with 5 additions and 3 deletions
|
|
@ -139,8 +139,9 @@ void debug_print_mpi( const ssl_context *ssl, int level,
|
|||
if( X->p[n] != 0 )
|
||||
break;
|
||||
|
||||
snprintf( str, maxlen, "%s(%04d): value of '%s' (%d bits) is:\n",
|
||||
file, line, text, ((n + 1) * sizeof( t_int )) << 3 );
|
||||
snprintf( str, maxlen, "%s(%04d): value of '%s' (%lu bits) is:\n",
|
||||
file, line, text,
|
||||
(unsigned long) ((n + 1) * sizeof( t_int )) << 3 );
|
||||
|
||||
str[maxlen] = '\0';
|
||||
ssl->f_dbg( ssl->p_dbg, level, str );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue