Use C99 format specifiers to properly print uint64_t (#297)

Co-authored-by: Matt Durgavich <mdurgavich@vivox.com>
This commit is contained in:
Matt Durgavich 2021-06-21 22:37:06 -04:00 committed by GitHub
parent d549a33b21
commit 6464d33767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3231,7 +3231,7 @@ ietf_full_conn_ci_going_away (struct lsquic_conn *lconn)
{ {
if (!(conn->ifc_flags & (IFC_CLOSING|IFC_GOING_AWAY))) if (!(conn->ifc_flags & (IFC_CLOSING|IFC_GOING_AWAY)))
{ {
LSQ_INFO("connection marked as going away, last stream: %ld", LSQ_INFO("connection marked as going away, last stream: %" PRIu64,
conn->ifc_max_req_id); conn->ifc_max_req_id);
conn->ifc_flags |= IFC_GOING_AWAY; conn->ifc_flags |= IFC_GOING_AWAY;
const lsquic_stream_id_t stream_id = conn->ifc_max_req_id + N_SITS; const lsquic_stream_id_t stream_id = conn->ifc_max_req_id + N_SITS;