syscall: add missing type conversion