intel / tinycrypt

tinycrypt is a library of cryptographic algorithms with a focus on small, simple implementation.
Other
446 stars 156 forks source link

Fix warning on incorrect printf type for unsigned int num_bytes #7

Closed ColinIanKing closed 8 years ago

ColinIanKing commented 8 years ago

Minor issued when sanity checking code with cppcheck static analysis:

[tests/test_ecc_utils.c:116]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.

use %u instead of %d

Signed-off-by: Colin Ian King colin.king@canonical.com

hackermnementh commented 8 years ago

Good catch. Thanks!