Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Commit 23e7727

Browse files
author
hackermnementh
authored
Merge pull request #7 from ColinIanKing/master
Fix warning on incorrect printf type for unsigned int num_bytes
2 parents 09139db + 82dac3f commit 23e7727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ecc_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void string2scalar(uint32_t * scalar, uint32_t num_word32, char *str) {
114114

115115
if (0 > (padding = 2*num_bytes - strlen(str))) {
116116
printf(
117-
"Error: 2*num_bytes(%d) < strlen(hex) (%zu)\n",
117+
"Error: 2*num_bytes(%u) < strlen(hex) (%zu)\n",
118118
2*num_bytes,
119119
strlen(str));
120120
exit(-1);

0 commit comments

Comments
 (0)