Fix wrong parameter type in prototype