passgen: fix arg types