Fix parameter type warning

Signed-off-by: Marc Delisle <marc@infomarc.info>