1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

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

@@ -160,7 +160,7 @@ int main( int argc, char *argv[] )
i = 0;
while( fscanf( f, "%02X", &c ) > 0 &&
while( fscanf( f, "%02X", (unsigned int*) &c ) > 0 &&
i < (int) sizeof( buf ) )
buf[i++] = (unsigned char) c;