diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-23 17:11:00 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-03-16 01:57:26 +0000 |
commit | aa050954195f6323775ed68f4262edf2341c6953 (patch) | |
tree | 0b2f53b23b97dc1e90f798ae97321a727c413462 /auto_tests/dht_test.c | |
parent | 78d5b74dcee1208efe19dd115006034501c4380f (diff) |
Remove the use of the 'hh' format specifier.
It's not supported in mingw.
See https://github.com/TokTok/c-toxcore/issues/786.
Diffstat (limited to 'auto_tests/dht_test.c')
-rw-r--r-- | auto_tests/dht_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/dht_test.c b/auto_tests/dht_test.c index fe23a598..2814263f 100644 --- a/auto_tests/dht_test.c +++ b/auto_tests/dht_test.c | |||
@@ -413,7 +413,7 @@ static void print_pk(uint8_t *public_key) | |||
413 | uint32_t j; | 413 | uint32_t j; |
414 | 414 | ||
415 | for (j = 0; j < CRYPTO_PUBLIC_KEY_SIZE; j++) { | 415 | for (j = 0; j < CRYPTO_PUBLIC_KEY_SIZE; j++) { |
416 | printf("%02hhX", public_key[j]); | 416 | printf("%02X", public_key[j]); |
417 | } | 417 | } |
418 | 418 | ||
419 | printf("\n"); | 419 | printf("\n"); |