From e96efcfcb19b81d87ed3baec419b14cdd6e021a4 Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sat, 14 Apr 2007 12:17:09 +0000 Subject: Fix miscellaneous display warnings for PowerPC & alpha targets and parallel CFI flash driver. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2661 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-alpha/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target-alpha/translate.c') diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 0afd8964ce..08e0624db9 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -2004,7 +2004,8 @@ int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, #if defined ALPHA_DEBUG_DISAS insn_count++; if (logfile != NULL) { - fprintf(logfile, "pc %016lx mem_idx\n", ctx.pc, ctx.mem_idx); + fprintf(logfile, "pc " TARGET_FMT_lx " mem_idx %d\n", + ctx.pc, ctx.mem_idx); } #endif insn = ldl_code(ctx.pc); -- cgit v1.2.3