Skip to content

Commit

Permalink
Try to squash warning in gcc 12.1 + C++20 (AcademySoftwareFoundation#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lgritz committed Nov 18, 2022
1 parent 5d23f2d commit e66ff05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rla.imageio/rlainput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,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();
Expand Down

0 comments on commit e66ff05

Please sign in to comment.