diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vlib/node.h | 2 | ||||
-rw-r--r-- | src/vlib/node_funcs.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/vlib/node.h b/src/vlib/node.h index 296d1832841..ee3aded6068 100644 --- a/src/vlib/node.h +++ b/src/vlib/node.h @@ -571,7 +571,7 @@ typedef struct u32 n_suspends; /* Vectors of pending event data indexed by event type index. */ - void **pending_event_data_by_type_index; + u8 **pending_event_data_by_type_index; /* Bitmap of event type-indices with non-empty vectors. */ uword *non_empty_event_type_bitmap; 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)) |