ufraw: fix gcc7 build
This commit is contained in:
parent
fa8becd3e1
commit
179ce46a95
|
@ -0,0 +1,11 @@
|
||||||
|
--- dcraw.cc 2015-06-16 05:58:38.000000000 +0200
|
||||||
|
+++ dcraw.cc 2018-02-04 14:46:54.489951076 +0100
|
||||||
|
@@ -9242,7 +9242,7 @@
|
||||||
|
if (make[0] == 'O') {
|
||||||
|
i = find_green (12, 32, 1188864, 3576832);
|
||||||
|
c = find_green (12, 32, 2383920, 2387016);
|
||||||
|
- if (abs(i) < abs(c)) {
|
||||||
|
+ if (abs((int)i) < abs((int)c)) {
|
||||||
|
SWAP(i,c);
|
||||||
|
load_flags = 24;
|
||||||
|
}
|
Loading…
Reference in New Issue