blob: 3e0c3067a310f10636804ca16341ac72b0102423 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
|