diff options
author | Damjan Marion <damarion@cisco.com> | 2022-03-23 16:59:23 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-03-23 18:32:05 +0000 |
commit | d24b86ecce5ab43f4859ed139ce863f5a5c69853 (patch) | |
tree | f842b40afa567772079237722a68cc72294352b2 /src/vlib/node_funcs.h | |
parent | e2d0c6e51ed29949260ae89c1a69cec39a14048f (diff) |
vlib: avoid use of vector of voids
Type: fix
Change-Id: I76e28854db8a1e9134c816c0c5d81b031dc4e27d
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/node_funcs.h')
-rw-r--r-- | src/vlib/node_funcs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/node_funcs.h b/src/vlib/node_funcs.h index 147d5eb99ef..b864fec11a1 100644 --- a/src/vlib/node_funcs.h +++ b/src/vlib/node_funcs.h @@ -835,7 +835,7 @@ vlib_process_signal_event_helper (vlib_node_main_t * nm, uword n_data_elts, uword n_data_elt_bytes) { uword p_flags, add_to_pending, delete_from_wheel; - void *data_to_be_written_by_caller; + u8 *data_to_be_written_by_caller; ASSERT (n->type == VLIB_NODE_TYPE_PROCESS); @@ -845,7 +845,7 @@ vlib_process_signal_event_helper (vlib_node_main_t * nm, /* Resize data vector and return caller's data to be written. */ { - void *data_vec = p->pending_event_data_by_type_index[t]; + u8 *data_vec = p->pending_event_data_by_type_index[t]; uword l; if (!data_vec && vec_len (nm->recycled_event_data_vectors)) |