eina inarray accessor - use right type in parameter
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 28 Jul 2017 10:54:13 +0000 (19:54 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 28 Jul 2017 23:55:27 +0000 (08:55 +0900)
commit091146fa34c4e7616375a67773c8e143af1d1674
treeb483baf0d5135a0e1b838a5af26f7416ec912656
parent33439865de327c5bac1c9a531070514e63fe3a04
eina inarray accessor - use right type in parameter

this actually wasn't a bug that would cause a crash. cloning an array
access would fail as the magic check would find its an accessor not an
array. indeed a bug... but we never used this anywhere i can find.

this was cast to the correct func ptr callabck in the accessor struct
as the clone method though.. thus everyhting was happy with it
seemingly.

found by PVS studio

@fix
src/lib/eina/eina_array.c