efl base class - fix warning about comparing differing sizes
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 11 Feb 2017 04:13:19 +0000 (13:13 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 11 Feb 2017 14:13:00 +0000 (23:13 +0900)
commiteb3f6f06f1308c474bb75c5bbd51caef37b1715d
tree76272c01bcd4675c0e53897874f7b178dcc141a6
parentb3f0db816a3fa4dde793200a930d74d328fe2cfc
efl base class - fix warning about comparing differing sizes

yes - we compare a difference between 2 ptrs and an index which is a
uint. the safe thing here is to promote the unit to the ptrdiff_t
type. reality is we cant have more than 2^32 cb's on an object
anyway... so this should be ok.
src/lib/eo/eo_base_class.c