doom: fix types mismatch spotted by gcc 4.5.1