mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Fix GCC format-signedness warnings
Signed-off-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
This commit is contained in:
@ -52,7 +52,7 @@ void check_runtime_version( char * version_str )
|
||||
mbedtls_version_get_string( get_str );
|
||||
mbedtls_version_get_string_full( get_str_full );
|
||||
|
||||
mbedtls_snprintf( build_str, 100, "%d.%d.%d",
|
||||
mbedtls_snprintf( build_str, 100, "%u.%u.%u",
|
||||
(get_int >> 24) & 0xFF,
|
||||
(get_int >> 16) & 0xFF,
|
||||
(get_int >> 8) & 0xFF );
|
||||
|
@ -237,7 +237,7 @@ int verify_parse_san( mbedtls_x509_subject_alternative_name *san,
|
||||
char *p = *buf;
|
||||
size_t n = *size;
|
||||
|
||||
ret = mbedtls_snprintf( p, n, "type : %u", san->type );
|
||||
ret = mbedtls_snprintf( p, n, "type : %d", san->type );
|
||||
MBEDTLS_X509_SAFE_SNPRINTF;
|
||||
|
||||
switch( san->type )
|
||||
|
Reference in New Issue
Block a user