mirror of https://github.com/martanne/abduco
Use correct printf format specifier for size_t
This commit is contained in:
parent
4b4c08457f
commit
3b701e2432
2
debug.c
2
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);
|
fprintf(stderr, "%dx%d", pkt->u.ws.ws_col, pkt->u.ws.ws_row);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "len: %d", pkt->len);
|
fprintf(stderr, "len: %zu", pkt->len);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue