Fix GCC format-signedness warnings

Signed-off-by: Kenneth Soerensen <knnthsrnsn@gmail.com>
This commit is contained in:
Kenneth Soerensen
2020-04-01 17:22:45 +02:00
parent 6bd4c79999
commit 518d435e7b
38 changed files with 160 additions and 157 deletions

View File

@@ -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 );