diff --git a/utils/cache_gc/db.c b/utils/cache_gc/db.c index 0ab829b9e95459b48246afc08316b0df46e02909..e0ee43df1544d7c1e75d00c90fb0311ebcca926a 100644 --- a/utils/cache_gc/db.c +++ b/utils/cache_gc/db.c @@ -128,7 +128,7 @@ void debug_printbin(const char *str, unsigned int len) if (isprint(c)) putchar(c); else - printf("`%02x`", c); + printf("`%02hhx`", c); } putchar('"'); }