Fix coverity issue

This commit is contained in:
Hombre57
2017-10-13 23:25:24 +02:00
parent 2956be333b
commit dfe40677e2
5 changed files with 5 additions and 5 deletions

View File

@@ -757,7 +757,7 @@ unsigned int FramesData::getFrameCount () const
return dcrawFrameCount ? dcrawFrameCount : frames.size();
}
FrameData *FramesData::getFrameData (int frame) const
FrameData *FramesData::getFrameData (unsigned int frame) const
{
return frames.empty() || frame >= frames.size() ? nullptr : frames.at(frame);
}