abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 3b701e24327eca05e3f6b39a7432604eb5a7be70
parent 4b4c08457f83815cbb58e29c63155b41b56c7620
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 24 Jun 2014 11:56:12 +0200

Use correct printf format specifier for size_t

Diffstat:
debug.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debug.c b/debug.c @@ -33,7 +33,7 @@ static void print_packet(const char *prefix, Packet *pkt) { fprintf(stderr, "%dx%d", pkt->u.ws.ws_col, pkt->u.ws.ws_row); break; default: - fprintf(stderr, "len: %d", pkt->len); + fprintf(stderr, "len: %zu", pkt->len); break; } fprintf(stderr, "\n");