Re: [Qemu-devel] [PATCH] es1370: Fix compiler warnings for debug code

2010-09-30 Thread malc
On Thu, 30 Sep 2010, Stefan Weil wrote: > The patch fixes these gcc warnings: > > ./hw/es1370.c: In function ?es1370_update_voices?: > ./hw/es1370.c:411: error: format ?%d? expects type ?int?, but argument 3 has > type ?size_t? > ./hw/es1370.c: In function ?es1370_writel?: > ./hw/es1370.c:579: e

[Qemu-devel] [PATCH] es1370: Fix compiler warnings for debug code

2010-09-30 Thread Stefan Weil
The patch fixes these gcc warnings: ./hw/es1370.c: In function ‘es1370_update_voices’: ./hw/es1370.c:411: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ ./hw/es1370.c: In function ‘es1370_writel’: ./hw/es1370.c:579: error: format ‘%d’ expects type ‘int’, but argument 3 ha