Drop h and hh length modifiers from printf format strings.
[tinc] / src / sptps_test.c
index 3a72f1d..8df1046 100644 (file)
@@ -59,7 +59,7 @@ static bool send_data(void *handle, uint8_t type, const void *data, size_t len)
 
 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;