Eo: Fix compilation for people using GCC.
authorTom Hacohen <tom@stosb.com>
Fri, 20 May 2016 15:16:14 +0000 (16:16 +0100)
committerTom Hacohen <tom@stosb.com>
Fri, 20 May 2016 15:16:17 +0000 (16:16 +0100)
commit7b2b62318041ceffc1d629402c4603b7b76d5b01
treedf5e10192392ba410b1e5b0717d7eac718b59807
parenta52c7da7140a04017916e3a130d3dcb7af385cf4
Eo: Fix compilation for people using GCC.

Apparently you can't cast when initializing static consts, even if
the cast is to the same type. This commit splits the macro used
so we have an additional one that casts and thus works with
eo_override().
src/lib/eo/Eo.h
src/tests/eo/suite/eo_test_general.c