Merge pull request #4401 from Beep6581/gcc8-warnings

Fix GCC 8 warnings
This commit is contained in:
Floessie
2018-02-15 20:54:43 +01:00
committed by GitHub
9 changed files with 29 additions and 21 deletions

View File

@@ -1346,7 +1346,7 @@ int RawImageSource::findHotDeadPixels( PixelsMap &bpMap, float thresh, bool find
float varthresh = (20.0 * (thresh / 100.0) + 1.0 ) / 24.f;
// allocate temporary buffer
float (*cfablur);
float* cfablur;
cfablur = (float (*)) malloc (H * W * sizeof * cfablur);
// counter for dead or hot pixels