From 1ba89ef4299fb9376b72286fde1994b24710067a Mon Sep 17 00:00:00 2001 From: kraxel Date: Tue, 13 Jun 2006 15:06:45 +0000 Subject: 64bit fix --- fb-gui.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fb-gui.c') diff --git a/fb-gui.c b/fb-gui.c index 67a3412..bb9ebbb 100644 --- a/fb-gui.c +++ b/fb-gui.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include @@ -130,9 +131,9 @@ static void shadow_lut_init(int depth) static void shadow_render_line(int line, unsigned char *dest, char unsigned *buffer) { - unsigned char *ptr = (void*)dest; - unsigned short *ptr2 = (void*)dest; - unsigned long *ptr4 = (void*)dest; + uint8_t *ptr = (void*)dest; + uint16_t *ptr2 = (void*)dest; + uint32_t *ptr4 = (void*)dest; int x; switch (fb_var.bits_per_pixel) { -- cgit