aboutsummaryrefslogtreecommitdiffstats
path: root/community/rawtherapee/gcc6.patch
blob: b4ee6126a6f0f809e9c47abe5c8fd2c4fe766d7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./rtexif/rtexif.h.orig
+++ ./rtexif/rtexif.h
@@ -410,7 +410,7 @@
                 else
                 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;
             if( dif < deltaMin ){