fix bug with sizeof when type of the arrays differ (#298)
fix bug with sizeof when type of the arrays differ (#298)

Signed-off-by: William Woodall <c824fe0afe16857dd6f587aa7c4044d2642d60fb@osrfoundation.org>
ros2/ros1_bridge,ros2/ros1_bridge