Fix compiler warning, minor changes (bin/params.c)