Re: [Qemu-devel] [PATCH] m68k: Fix compiler warning (fprintf format string)

2010-04-13 Thread Aurelien Jarno
On Fri, Apr 09, 2010 at 10:49:51PM +0200, Stefan Weil wrote: 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.

[Qemu-devel] [PATCH] m68k: Fix compiler warning (fprintf format string)

2010-04-09 Thread Stefan Weil
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 w...@mail.berlios.de --- m68k-dis.c |6