Skip to content

Commit 6c4868b

Browse files
committed
Amend #337 removing unnecessary casts
1 parent 1885751 commit 6c4868b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/nghttp3_conn_test.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,8 +1152,8 @@ void test_nghttp3_conn_submit_request(void) {
11521152

11531153
assert_int(0, ==, rv);
11541154

1155-
rv = nghttp3_conn_add_ack_offset(
1156-
conn, stream_id, (size_t)nghttp3_vec_len(vec, (size_t)sveccnt));
1155+
rv = nghttp3_conn_add_ack_offset(conn, stream_id,
1156+
nghttp3_vec_len(vec, (size_t)sveccnt));
11571157

11581158
assert_int(0, ==, rv);
11591159

@@ -1192,8 +1192,8 @@ void test_nghttp3_conn_submit_request(void) {
11921192

11931193
assert_int(0, ==, rv);
11941194

1195-
rv = nghttp3_conn_add_ack_offset(
1196-
conn, stream_id, (size_t)nghttp3_vec_len(vec, (size_t)sveccnt));
1195+
rv = nghttp3_conn_add_ack_offset(conn, stream_id,
1196+
nghttp3_vec_len(vec, (size_t)sveccnt));
11971197

11981198
assert_int(0, ==, rv);
11991199

@@ -2992,8 +2992,8 @@ void test_nghttp3_conn_qpack_decoder_cancel_stream(void) {
29922992

29932993
assert_int(0, ==, rv);
29942994

2995-
rv = nghttp3_conn_add_ack_offset(
2996-
conn, stream_id, (size_t)nghttp3_vec_len(vec, (size_t)sveccnt));
2995+
rv = nghttp3_conn_add_ack_offset(conn, stream_id,
2996+
nghttp3_vec_len(vec, (size_t)sveccnt));
29972997

29982998
assert_int(0, ==, rv);
29992999

0 commit comments

Comments
 (0)