Fix structure alignment with 32-bit pointers
Change-Id: I740de6c0f12dab452b4349e3bf89ff976a6268c0 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
committed by
Florin Coras
parent
6ce2232e4c
commit
36c1308b35
@@ -418,6 +418,10 @@ typedef struct vlib_node_runtime_t
|
||||
|
||||
vlib_error_t *errors; /**< Vector of errors for this node. */
|
||||
|
||||
#if __SIZEOF_POINTER__ == 4
|
||||
u8 pad[8];
|
||||
#endif
|
||||
|
||||
u32 clocks_since_last_overflow; /**< Number of clock cycles. */
|
||||
|
||||
u32 max_clock; /**< Maximum clock cycle for an
|
||||
|
||||
Reference in New Issue
Block a user