ports/devel/directfb/files/patch-src-gfx-generic-generic.c
Pav Lucistnik 4711ced926 - Update to 1.4.3
PR:		ports/146815
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com> (maintainer)
2010-06-03 08:00:30 +00:00

11 lines
340 B
C

--- src/gfx/generic/generic.c
+++ src/gfx/generic/generic.c
@@ -63,6 +63,8 @@
#include "duffs_device.h"
+typedef unsigned long ulong;
+
/* lookup tables for 2/3bit to 8bit color conversion */
static const u8 lookup3to8[] = { 0x00, 0x24, 0x49, 0x6d, 0x92, 0xb6, 0xdb, 0xff};
static const u8 lookup2to8[] = { 0x00, 0x55, 0xaa, 0xff};