diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-05-23 23:26:41 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2012-05-24 02:03:30 +0400 |
commit | f8687bab919672ccdfe29e366e60b5dd1b6ae71b (patch) | |
tree | 9595f8ea7c5045e6a401eb805d4f301706b425c6 /hw/ds1225y.c | |
parent | c48b0c80fca9858eb2f9343f1c0a04427f604941 (diff) | |
download | qemu-f8687bab919672ccdfe29e366e60b5dd1b6ae71b.zip qemu-f8687bab919672ccdfe29e366e60b5dd1b6ae71b.tar.gz qemu-f8687bab919672ccdfe29e366e60b5dd1b6ae71b.tar.bz2 |
es1370: Fix debug code
When DEBUG_ES1370 is defined, the compiler shows these warnings:
hw/es1370.c: In function ?es1370_update_voices?:
hw/es1370.c:414: warning: format ?%d? expects type ?int?, but argument 3 has type ?size_t?
hw/es1370.c: In function ?es1370_writel?:
hw/es1370.c:582: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
hw/es1370.c:592: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
hw/es1370.c:609: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
hw/es1370.c: In function ?es1370_readl?:
hw/es1370.c:751: warning: suggest braces around empty body in an ?if? statement
Fix the format strings and add the missing braces.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/ds1225y.c')
0 files changed, 0 insertions, 0 deletions