Fix cast warning on 64 bit VS
@@ -38,7 +38,7 @@ static const uint8_t* picoquic_log_fixed_skip(const uint8_t* bytes, const uint8_
static const uint8_t* picoquic_log_varint_skip(const uint8_t* bytes, const uint8_t* bytes_max)
{
- return bytes == NULL ? NULL : (bytes < bytes_max ? picoquic_log_fixed_skip(bytes, bytes_max, VARINT_LEN(bytes)) : NULL);
+ return bytes == NULL ? NULL : (bytes < bytes_max ? picoquic_log_fixed_skip(bytes, bytes_max, (uint64_t) VARINT_LEN(bytes)) : NULL);
}
static const uint8_t* picoquic_log_varint(const uint8_t* bytes, const uint8_t* bytes_max, uint64_t* n64)
