diff --git a/rtexif/rtexif.h b/rtexif/rtexif.h index 2d6c800fc..471f9fbe3 100644 --- a/rtexif/rtexif.h +++ b/rtexif/rtexif.h @@ -558,7 +558,7 @@ protected: lensAperture = exp( log(a1) + (log(a2) - log(a1)) / (log(f2) - log(f1)) * (log(focalLength) - log(f1)) ); } - dif = abs(lensAperture - maxApertureAtFocal); + dif = std::abs(lensAperture - maxApertureAtFocal); } else { dif = 0; }