Merge pull request #6873 from 0v3rt1r3d/0v3rt1r3d/fix-a-couple-of-warnings

Fix a couple of warnings
This commit is contained in:
Lawrence37
2024-01-27 21:46:14 -08:00
committed by GitHub
8 changed files with 14 additions and 8 deletions

View File

@@ -317,7 +317,6 @@ private:
typedef std::map<std::string, std::vector<badPix> > bpList_t;
dfList_t dfList;
bpList_t bpList;
bool initialized;
Glib::ustring currentPath;
dfInfo* addFileInfo(const Glib::ustring &filename, bool pool = true);
dfInfo* find(const std::string &mak, const std::string &mod, int isospeed, double shut, time_t t);

View File

@@ -5307,8 +5307,8 @@ void RawImageSource::ItcWB(bool extra, double &tempref, double &greenref, double
Glib::ustring profuse;
profuse = "JDCmax";
int limx = 0.05f;
int limy = 0.04f;
float limx = 0.05f;
float limy = 0.04f;
if (wbpar.itcwb_prim == "srgb") {
profuse = "sRGB";