]> git.proxmox.com Git - qemu.git/commit - disas/m68k.c
m68k: Fix compiler warning (fprintf format string)
authorStefan Weil <weil@mail.berlios.de>
Fri, 9 Apr 2010 20:49:51 +0000 (22:49 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 13 Apr 2010 23:04:02 +0000 (01:04 +0200)
commitd14a68b6dc0cc01ddd4c1c7c5907b95c3938679c
treec41103a006905bb6b0a2853c091d3c8788014770
parent07b1a9da1767ac1481754e54cc46e45c953698e0
m68k: Fix compiler warning (fprintf format string)

When argument checking is enabled, gcc throws this error:

error: format not a string literal and no format arguments

The patch rewrites the statement to satisfy the compiler.
It also removes a type cast which is not needed.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
m68k-dis.c