static bool receive_record(void *handle, uint8_t type, const void *data, uint16_t len) {
if(verbose)
- fprintf(stderr, "Received type %d record of %hu bytes:\n", type, len);
+ fprintf(stderr, "Received type %d record of %u bytes:\n", type, len);
if(!writeonly)
write(out, data, len);
return true;