numam-dpdk/app
Thomas Monjalon 894f5cc441 eal: fix type of pointer arithmetic result
Adding or subtracting a value to a pointer makes a new pointer
of unknown type.
So typeof() is replaced by (void*) in RTE_PTR_ADD() and RTE_PTR_SUB().

But RTE_PTR_ALIGN_* macros have in their explicit API to return a pointer
of the same type. Since RTE_PTR_ALIGN_CEIL is based on RTE_PTR_ADD, a
typeof() is added to keep the original behaviour.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2014-02-26 11:01:13 +01:00
..
cmdline_test update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
dump_cfg update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test eal: fix type of pointer arithmetic result 2014-02-26 11:01:13 +01:00
test-pmd app/testpmd: disable RSS when in SRIOV 2014-02-26 10:47:57 +01:00
Makefile update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00