diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp b/digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp index 88ef607..10a12b7 100644 --- a/digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp +++ b/digikam/imageplugins/coreplugin/sharpnesseditor/matrix.cpp @@ -30,16 +30,16 @@ // Square #define SQR(x) ((x) * (x)) +// C++ includes. + +#include + extern "C" { #include "f2c.h" #include "clapack.h" } -// C++ includes. - -#include - // TQt includes. #include diff --git a/digikam/libs/lprof/cmsreg.cpp b/digikam/libs/lprof/cmsreg.cpp index 00c6c06..4e66a9e 100644 --- a/digikam/libs/lprof/cmsreg.cpp +++ b/digikam/libs/lprof/cmsreg.cpp @@ -147,7 +147,7 @@ BOOL MultipleLinearRegression(const LPMATN xi, /* Dependent varia /* |bt| = |b| T */ bt = MATNtranspose (b); - if (bt == false) return false; + if (bt == NULL) return false; /* |yt| = |bt| * |xt| */ yt = MATNmult (bt, xt);