Fixed conversion warnings for PNA compiler.