Skip to content

Commit

Permalink
[~] changing to uint64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanmei-Liu committed Dec 4, 2024
1 parent 7dbb547 commit f9a1eab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/transport/xqc_conn.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/transport/xqc_frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f9a1eab

Please sign in to comment.