https://bugs.gentoo.org/670020 --- a/src/FbiStuffJpeg.cpp +++ b/src/FbiStuffJpeg.cpp @@ -115,7 +115,7 @@ cinfo->src->bytes_in_buffer = h->tsize; }*/ -static int thumbnail_src_fill(struct jpeg_decompress_struct *cinfo) +static boolean thumbnail_src_fill(struct jpeg_decompress_struct *cinfo) { FIM_FBI_PRINTF("jpeg: panic: no more thumbnail input data\n"); exit(1); --- a/src/FramebufferDevice.h +++ b/src/FramebufferDevice.h @@ -37,8 +37,8 @@ #include "DisplayDevice.h" /* these are required by FbiStuffJpeg.cpp */ -#define FIM_FBI_TRUE 1 -#define FIM_FBI_FALSE 0 +#define FIM_FBI_TRUE TRUE +#define FIM_FBI_FALSE FALSE #ifndef FIM_WITH_NO_FRAMEBUFFER