Fix GCC format-signedness warnings

Signed-off-by: Kenneth Soerensen <[email protected]>
This commit is contained in:
Kenneth Soerensen
2020-04-22 16:01:48 +02:00
parent 6bd4c79999
commit 518d435e7b
38 changed files with 160 additions and 157 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ int main( int argc, char *argv[] )
{
char error_buf[200];
mbedtls_strerror( val, error_buf, 200 );
mbedtls_printf("Last error was: -0x%04x - %s\n\n", (int) -val, error_buf );
mbedtls_printf("Last error was: -0x%04x - %s\n\n", (unsigned int) -val, error_buf );
}
#if defined(_WIN32)