if (!ossl_quic_wire_decode_frame_path_challenge(pkt, &data))
return 0;
- BIO_printf(bio, " Data: %016lx\n", data);
+ BIO_printf(bio, " Data: %016llx\n", (unsigned long long)data);
return 1;
}
if (!ossl_quic_wire_decode_frame_path_response(pkt, &data))
return 0;
- BIO_printf(bio, " Data: %016lx\n", data);
+ BIO_printf(bio, " Data: %016llx\n", (unsigned long long)data);
return 1;
}
BIO_puts(bio, " Packet\n");
BIO_printf(bio, " Packet Type: %s\n", packet_type(hdr.type));
if (hdr.type != QUIC_PKT_TYPE_1RTT)
- BIO_printf(bio, " Version: 0x%08x\n", hdr.version);
+ BIO_printf(bio, " Version: 0x%08lx\n",
+ (unsigned long)hdr.version);
BIO_puts(bio, " Destination Conn Id: ");
put_conn_id(bio, &hdr.dst_conn_id);
BIO_puts(bio, "\n");
double error = ((double)estimated_capacity / (double)actual_capacity) - 1.0;
- TEST_info("est = %6lu kB/s, act=%6lu kB/s (error=%.02f%%)\n",
- estimated_capacity, actual_capacity, error * 100.0);
+ TEST_info("est = %6llu kB/s, act=%6llu kB/s (error=%.02f%%)\n",
+ (unsigned long long)estimated_capacity,
+ (unsigned long long)actual_capacity,
+ error * 100.0);
/* Max 5% error */
if (!TEST_double_le(error, 0.05))
break;
default:
- TEST_error("opcode %d not allowed on child thread", op->op);
+ TEST_error("opcode %lu not allowed on child thread",
+ (unsigned long)op->op);
goto out;
}
}