Skip to content
Snippets Groups Projects
Commit 70cbae1d authored by Samuel Thibault's avatar Samuel Thibault Committed by Michael Tokarev
Browse files

baum: Fix build with debugging enabled


cur and buf are pointers, so the difference is a ptrdiff_t

Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: default avatarStefan Weil <sw@weilnetz.de>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 8cb76755
No related branches found
No related tags found
No related merge requests found
......@@ -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 %td bytes!\n", cur - buf);
}
#define EAT(c) do {\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment