fixed MSVCPP warning
This commit is contained in:
parent
2e2f6f8b5c
commit
e2e549c675
@ -1302,7 +1302,7 @@ bx_bool bx_real_sim_c::save_sr_param(FILE *fp, bx_param_c *node, const char *sr_
|
||||
fprintf(fp, node->get_format(), value);
|
||||
} else {
|
||||
if ((Bit64u)((bx_param_num_c*)node)->get_max() > BX_MAX_BIT32U) {
|
||||
fprintf(fp, "0x"FMT_LL"x", (Bit64u) value);
|
||||
fprintf(fp, "0x" FMT_LL "x", (Bit64u) value);
|
||||
} else {
|
||||
fprintf(fp, "0x%x", (Bit32u) value);
|
||||
}
|
||||
|
@ -228,7 +228,7 @@ bx_bool scsi_device_t::save_requests(const char *path)
|
||||
while (r != NULL) {
|
||||
fprintf(fp, "%u = {\n", i);
|
||||
fprintf(fp, " tag = %u\n", r->tag);
|
||||
fprintf(fp, " sector = "FMT_LL"u\n", r->sector);
|
||||
fprintf(fp, " sector = " FMT_LL "u\n", r->sector);
|
||||
fprintf(fp, " sector_count = %u\n", r->sector_count);
|
||||
fprintf(fp, " buf_len = %d\n", r->buf_len);
|
||||
fprintf(fp, " status = %u\n", r->status);
|
||||
|
Loading…
Reference in New Issue
Block a user