summaryrefslogtreecommitdiffstats
path: root/target-cris
authorStefan Weil <[email protected]>2010-10-02 10:41:03 (GMT)
committer Edgar E. Iglesias <[email protected]>2010-10-02 11:12:21 (GMT)
commit211ecdc0e4226e86c406b0ce91ed355fdde021ab (patch) (side-by-side diff)
tree53496f61cca5f4652d9ac8540d71f4d5b9aa994c /target-cris
parente6aa0f11edd3251d58bb0e5072aeab9b8713f5c6 (diff)
downloadqemu-kvm-211ecdc0e4226e86c406b0ce91ed355fdde021ab.zip
qemu-kvm-211ecdc0e4226e86c406b0ce91ed355fdde021ab.tar.gz
qemu-kvm-211ecdc0e4226e86c406b0ce91ed355fdde021ab.tar.bz2
target-cris: Use %td for ptrdiff_t arguments in debug message
According to ISO/IEC 9899:1999 7.19.6.1, the correct length modifier for ptrdiff_t is 't', not 'z'. Cc: Blue Swirl <[email protected]> Cc: Markus Armbruster <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Edgar E. Iglesias <[email protected]>
Diffstat (limited to 'target-cris') (more/less context) (ignore whitespace changes)
-rw-r--r--target-cris/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c
index 45c7682..8361369 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -3409,7 +3409,7 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) {
log_target_disas(pc_start, dc->pc - pc_start,
dc->env->pregs[PR_VR]);
- qemu_log("\nisize=%d osize=%zd\n",
+ qemu_log("\nisize=%d osize=%td\n",
dc->pc - pc_start, gen_opc_ptr - gen_opc_buf);
}
#endif