added parameter types pointer casts to enable usage of same function with different parameter types in one module