Fix coding style

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

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