Fix FTBFS in dcraw and test.

This resolves issue #3.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/4/head
Slávek Banko 3 years ago
parent ec82ccebc0
commit 5d4026f547
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -3935,7 +3935,7 @@ void CLASS vng_interpolate()
signed char y1, x1, y2, x2, weight;
unsigned char grads;
};
static const interpolate_terms terms[] = {
static const struct interpolate_terms terms[] = {
{-2,-2,+0,-1,0,0x01}, {-2,-2,+0,+0,1,0x01}, {-2,-1,-1,+0,0,0x01},
{-2,-1,+0,-1,0,0x02}, {-2,-1,+0,+0,0,0x03}, {-2,-1,+0,+1,1,0x01},
{-2,+0,+0,-1,0,0x06}, {-2,+0,+0,+0,1,0x02}, {-2,+0,+0,+1,0,0x03},
@ -3959,7 +3959,7 @@ void CLASS vng_interpolate()
{+1,-1,+1,+1,0,0x88}, {+1,+0,+1,+2,0,0x08}, {+1,+0,+2,-1,0,0x40},
{+1,+0,+2,+1,0,0x10}
};
const interpolate_terms *cpt;
const struct interpolate_terms *cpt;
signed char *cp;
signed char chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };
ushort (*brow[5])[4], *pix;

@ -6,6 +6,11 @@ include_directories(
${CMAKE_SOURCE_DIR}/libkdcraw/libkdcraw
)
include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
##### test programs

Loading…
Cancel
Save