diff options
Diffstat (limited to 'source/fitz/hash.c')
-rw-r--r-- | source/fitz/hash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fitz/hash.c b/source/fitz/hash.c index 6c4d9a5e..bc1d2376 100644 --- a/source/fitz/hash.c +++ b/source/fitz/hash.c @@ -340,12 +340,12 @@ fz_print_hash_details(fz_context *ctx, fz_output *out, fz_hash_table *table, voi for (i = 0; i < table->size; i++) { if (!table->ents[i].val) - fz_printf(ctx, out, "table % 4d: empty\n", i); + fz_printf(ctx, out, "table %04d: empty\n", i); else { - fz_printf(ctx, out, "table % 4d: key=", i); + fz_printf(ctx, out, "table %04d: key=", i); for (k = 0; k < MAX_KEY_LEN; k++) - fz_printf(ctx, out, "%02x", ((char*)table->ents[i].key)[k]); + fz_printf(ctx, out, "%02x", ((unsigned char*)table->ents[i].key)[k]); if (details) details(ctx, out, table->ents[i].val); else |