Cyril Chemparathy 0052d53df4 hash: silence warning on pointer arithmetic
Since sig_tbl_bucket_size and key_tbl_key_size are explicitly aligned
at initialization, offset dereferences in the hash table code cannot
possibly be unaligned.  However, the compiler is unaware of this fact
and complains on -Wcast-align.  This patch modifies the code to use
RTE_PTR_ADD(), thereby silencing the compiler by casting through (void
*).

Signed-off-by: Cyril Chemparathy <cchemparathy@ezchip.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2015-06-24 12:00:41 +02:00
..
2015-02-03 16:56:58 +01:00
2015-06-12 11:10:10 +02:00
2015-03-10 12:06:08 +01:00
2015-03-10 12:06:08 +01:00
2015-06-16 12:19:20 +02:00