diff --git a/src/rla.imageio/rlainput.cpp b/src/rla.imageio/rlainput.cpp index dd5226124c..c484ed2a67 100644 --- a/src/rla.imageio/rlainput.cpp +++ b/src/rla.imageio/rlainput.cpp @@ -330,7 +330,7 @@ RLAInput::seek_subimage(int subimage, int miplevel) m_spec.z_channel = z_channel; if (m_spec.channelnames.size() < size_t(z_channel + 1)) m_spec.channelnames.resize(z_channel + 1); - m_spec.channelnames[z_channel] = "Z"; + m_spec.channelnames[z_channel] = std::string("Z"); } } m_stride += m_rla.NumOfAuxChannels * aux_type.size();