File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1958,7 +1958,7 @@ test_rpc_message_from_data_op_kill_cursors_invalid (void)
1958
1958
(size_t) expected_len, \
1959
1959
iovec.iov_len); \
1960
1960
ASSERT_WITH_MSG ( \
1961
- iovec.iov_base == (data + expected_base_index), \
1961
+ (const uint8_t *) iovec.iov_base == (data + expected_base_index), \
1962
1962
"expected iov_base to point to byte %zu (%p), but got byte %zu (%p)", \
1963
1963
(size_t) (expected_base_index), \
1964
1964
(void *) (data + expected_base_index), \
@@ -2278,7 +2278,7 @@ test_rpc_message_to_iovecs_op_kill_cursors (void)
2278
2278
2279
2279
ASSERT_CMPSIZE_T (iovec -> iov_len , = = , 16u );
2280
2280
2281
- const int64_t * const cursor_ids = iovec -> iov_base ;
2281
+ const int64_t * const cursor_ids = ( const int64_t * ) iovec -> iov_base ;
2282
2282
2283
2283
const int64_t cursor_id_0 = _int64_from_le (cursor_ids + 0 );
2284
2284
const int64_t cursor_id_1 = _int64_from_le (cursor_ids + 1 );
You can’t perform that action at this time.
0 commit comments