Fixing conversion warnings for PNA compiler.