Fix C pointer cast to the right type This was making init:restart() crash the Erlang VM on a Mac OS X Lion 64 bits machine. References: http://www.erlang.org/doc/man/erl_driver.html#driver_free http://erlang.org/pipermail/erlang-bugs/2011-August/002549.html