projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb7675
)
baum: Fix build with debugging enabled
author
Samuel Thibault
<samuel.thibault@gnu.org>
Sun, 30 Aug 2015 15:12:13 +0000
(17:12 +0200)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Fri, 11 Sep 2015 07:21:38 +0000
(10:21 +0300)
cur and buf are pointers, so the difference is a ptrdiff_t
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
backends/baum.c
patch
|
blob
|
history
diff --git
a/backends/baum.c
b/backends/baum.c
index a69aafff482413f7837f9d2099db1bc237157ab0..a17f62541b1adec35acc0c246c72c6d732759387 100644
(file)
--- a/
backends/baum.c
+++ b/
backends/baum.c
@@
-303,7
+303,7
@@
static int baum_eat_packet(BaumDriverState *baum, const uint8_t *buf, int len)
return 0;
cur++;
}
- DPRINTF("Dropped %d bytes!\n", cur - buf);
+ DPRINTF("Dropped %
t
d bytes!\n", cur - buf);
}
#define EAT(c) do {\