From b6e93045530c8503b32a3853fe254c7805a35e11 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 26 May 2021 19:33:08 -0500 Subject: [PATCH] Cleanup: The byte_dump program should use uppercase when printing unicode codes. --- level_3/byte_dump/c/private-byte_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_3/byte_dump/c/private-byte_dump.c b/level_3/byte_dump/c/private-byte_dump.c index 889eed3..ee7e116 100644 --- a/level_3/byte_dump/c/private-byte_dump.c +++ b/level_3/byte_dump/c/private-byte_dump.c @@ -390,10 +390,10 @@ extern "C" { } if (width_utf < 4) { - fprintf(main.output.stream, " U+%04x ", (uint32_t) unicode); + fprintf(main.output.stream, " U+%04X ", (uint32_t) unicode); } else { - fprintf(main.output.stream, " U+%06x", (uint32_t) unicode); + fprintf(main.output.stream, " U+%06X", (uint32_t) unicode); } } else { -- 1.8.3.1