diff options
-rw-r--r-- | src/memview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memview.c b/src/memview.c index eab14c6..3b61360 100644 --- a/src/memview.c +++ b/src/memview.c @@ -190,7 +190,7 @@ const char* hex_for_byte(unsigned char byte) { // optimization to avoid vprintf for the hex view - static const char *hex[256] = { + static const char hex[256][3] = { "00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "0a", "0b", "0c", "0d", "0e", "0f", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "1a", "1b", "1c", "1d", "1e", "1f", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "2a", "2b", "2c", "2d", "2e", "2f", |