Re: [Qemu-devel] [PATCH 3/3] debugcon: fix compiler warning when open DEBUG_DEBUGCON

2013-04-14 Thread li guang
在 2013-04-12五的 14:19 +0200,Andreas Färber写道: > Am 12.04.2013 06:12, schrieb liguang: > > compiler warnings: > > CChw/char/debugcon.o > > hw/char/debugcon.c: In function ‘debugcon_ioport_write’: > > hw/char/debugcon.c:58: warning: format ‘%02x’ expects type ‘unsigned int’, > > but argument 3

Re: [Qemu-devel] [PATCH 3/3] debugcon: fix compiler warning when open DEBUG_DEBUGCON

2013-04-12 Thread Andreas Färber
Am 12.04.2013 06:12, schrieb liguang: > compiler warnings: > CChw/char/debugcon.o > hw/char/debugcon.c: In function ‘debugcon_ioport_write’: > hw/char/debugcon.c:58: warning: format ‘%02x’ expects type ‘unsigned int’, > but argument 3 has type ‘uint64_t’ > hw/char/debugcon.c: In function ‘de

[Qemu-devel] [PATCH 3/3] debugcon: fix compiler warning when open DEBUG_DEBUGCON

2013-04-11 Thread liguang
compiler warnings: CChw/char/debugcon.o hw/char/debugcon.c: In function ‘debugcon_ioport_write’: hw/char/debugcon.c:58: warning: format ‘%02x’ expects type ‘unsigned int’, but argument 3 has type ‘uint64_t’ hw/char/debugcon.c: In function ‘debugcon_ioport_read’: hw/char/debugcon.c:70: warnin