From 7087f1e1c6aa5f3c0080c8be0db2889c7a986c62 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 17 Sep 2014 17:10:13 -0700 Subject: [PATCH] Compiler suggested cleanup --- sim_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_disk.c b/sim_disk.c index 40c1dc14..91526256 100644 --- a/sim_disk.c +++ b/sim_disk.c @@ -1458,7 +1458,7 @@ struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; if (sim_deb && (ctx->dptr->dctrl & reason)) { char pos[32]; - sprintf (pos, "lbn: %08X ", lba); + sprintf (pos, "lbn: %08X ", (unsigned int)lba); sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), pos, len, txt, reason); } }