sim: fix issue with sizeof call
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>
Mon, 17 Jan 2011 15:55:48 +0000 (17:55 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 17 Jan 2011 16:05:26 +0000 (17:05 +0100)
commit2b8a35860173f8f4570dc2631c2ce873b68466c1
tree06b9c423c8353c428ffb3bec9825ad09a6ce3864
parent2910b735cfe8fcec6a97f68137863fd22ca6bb74
sim: fix issue with sizeof call

In some compilers, sizeof the functional argument is
not returning the actual sizeof the argument.
src/sim.c