Fixed linking error caused by missing void.
fixed linking error caused by wrong matching of void* to struct*
Fixed linking error caused by interpreting constant numbers as long instead of int
Fixed void linking error
Fixed linking error int <-> long
Fixed linking error int <-> long
Fixed linking error caused by not referencing arrays with pointers