unittest: fix coverity 274736
[vpp.git] / src / vlib / node.h
index ee3aded..1492326 100644 (file)
@@ -274,7 +274,7 @@ typedef struct vlib_node_t
   u32 runtime_index;
 
   /* Runtime data for this node. */
-  void *runtime_data;
+  u8 *runtime_data;
 
   /* Node flags. */
   u16 flags;
@@ -503,6 +503,8 @@ typedef struct vlib_node_runtime_t
                                          zero before first run of this
                                          node. */
 
+  CLIB_ALIGN_MARK (runtime_data_pad, 8);
+
   u8 runtime_data[0];                  /**< Function dependent
                                          node-runtime data. This data is
                                          thread local, and it is not