diff --git a/src/transport/xqc_conn.h b/src/transport/xqc_conn.h index f01874f0..ad16da01 100644 --- a/src/transport/xqc_conn.h +++ b/src/transport/xqc_conn.h @@ -370,9 +370,9 @@ struct xqc_connection_s { xqc_path_ctx_t *conn_initial_path; xqc_list_head_t conn_paths_list; uint64_t validating_path_id; - uint32_t create_path_count; - uint32_t validated_path_count; - uint32_t active_path_count; + uint64_t create_path_count; + uint64_t validated_path_count; + uint64_t active_path_count; uint64_t max_paths_count; uint64_t curr_max_path_id; diff --git a/src/transport/xqc_frame.c b/src/transport/xqc_frame.c index 72bc2a8c..66d23759 100644 --- a/src/transport/xqc_frame.c +++ b/src/transport/xqc_frame.c @@ -2076,7 +2076,7 @@ xqc_process_path_blocked_frame(xqc_connection_t *conn, xqc_packet_in_t *packet_i } if (xqc_conn_check_path_id_blocked(conn) /* check whether all path ids have been used */ - && (uint64_t)conn->create_path_count < conn->max_paths_count) /* check whether touched path resource limit */ + && conn->create_path_count < conn->max_paths_count) /* check whether touched path resource limit */ { ret = xqc_conn_update_max_path_id(conn); }