Fix coverity issue
This commit is contained in:
parent
2956be333b
commit
dfe40677e2
@ -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);
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ public:
|
||||
void setDCRawFrameCount (unsigned int frameCount);
|
||||
unsigned int getRootCount () const;
|
||||
unsigned int getFrameCount () const;
|
||||
FrameData *getFrameData (int frame) const;
|
||||
FrameData *getFrameData (unsigned int frame) const;
|
||||
bool getPixelShift (unsigned int frame = 0) const;
|
||||
bool getHDR (unsigned int frame = 0) const;
|
||||
IIOSampleFormat getSampleFormat (unsigned int frame = 0) const;
|
||||
|
@ -107,7 +107,7 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual FrameData* getImageData (int frameNum) = 0;
|
||||
virtual FrameData* getImageData (unsigned int frameNum) = 0;
|
||||
virtual ImageMatrices* getImageMatrices () = 0;
|
||||
virtual bool isRAW () const = 0;
|
||||
virtual DCPProfile* getDCP (const ColorManagementParams &cmp, ColorTemp &wb, DCPProfile::ApplyState &as)
|
||||
|
@ -166,7 +166,7 @@ public:
|
||||
return ri->get_rotateDegree();
|
||||
}
|
||||
|
||||
FrameData* getImageData (int frameNum)
|
||||
FrameData* getImageData (unsigned int frameNum)
|
||||
{
|
||||
return idata->getFrameData (frameNum);
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ public:
|
||||
void getFullSize (int& w, int& h, int tr = TR_NONE);
|
||||
void getSize (const PreviewProps &pp, int& w, int& h);
|
||||
|
||||
FrameData* getImageData (int frameNum)
|
||||
FrameData* getImageData (unsigned int frameNum)
|
||||
{
|
||||
return idata->getFrameData (frameNum);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user