summary refs log tree commit diff stats
path: root/slirp/tcp_output.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-05-23 23:26:41 +0200
committermalc <av1474@comtv.ru>2012-05-24 02:03:30 +0400
commitf8687bab919672ccdfe29e366e60b5dd1b6ae71b (patch)
tree9595f8ea7c5045e6a401eb805d4f301706b425c6 /slirp/tcp_output.c
parentc48b0c80fca9858eb2f9343f1c0a04427f604941 (diff)
downloadfocaccia-qemu-f8687bab919672ccdfe29e366e60b5dd1b6ae71b.tar.gz
focaccia-qemu-f8687bab919672ccdfe29e366e60b5dd1b6ae71b.zip
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 'slirp/tcp_output.c')
0 files changed, 0 insertions, 0 deletions