]> www.tinc-vpn.org Git - tinc/blobdiff - src/sptps_test.c
Drop h and hh length modifiers from printf format strings.
[tinc] / src / sptps_test.c
index 3a72f1d6fb7a6a624b8e1a6d173fed476fc7eee4..8df104617612ddcb597f0bc772da108f5c113a5a 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;