Build failure on ARM and PowerPC architectures, fixes #3053
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- dcraw.c 2015-11-24 19:17:16 +0000
|
||||
+++ dcraw.cc 2015-11-27 12:35:05 +0000
|
||||
--- dcraw.c 2016-01-02 12:05:48 +0000
|
||||
+++ dcraw.cc 2016-01-02 13:21:21 +0000
|
||||
@@ -1,3 +1,15 @@
|
||||
+/*RT*/#include <glib.h>
|
||||
+/*RT*/#include <glib/gstdio.h>
|
||||
@@ -470,7 +470,7 @@
|
||||
+ blur than this, but this does not need any buffer and makes nice-looking
|
||||
+ radial gradients */
|
||||
+ ushort *corners_weight = (ushort *)malloc(bw*bh*9*sizeof(*corners_weight));
|
||||
+ const char corners_mix[9][4][2] = { { {0,0}, {0,1}, {1,0}, {1,1} },
|
||||
+ const int corners_mix[9][4][2] = { { {0,0}, {0,1}, {1,0}, {1,1} },
|
||||
+ { {0,1}, {1,1}, {-1,-1}, {-1,-1} },
|
||||
+ { {0,1}, {0,2}, {1,1}, {1,2} },
|
||||
+ { {1,0}, {1,1}, {-1,-1}, {-1,-1} },
|
||||
|
Reference in New Issue
Block a user