diff options
author | kraxel <kraxel> | 2006-06-13 15:06:45 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2006-06-13 15:06:45 +0000 |
commit | 1ba89ef4299fb9376b72286fde1994b24710067a (patch) | |
tree | e280c4649ec3833ef8f6747feecfa11fdca2b916 | |
parent | 8992ff2c2c6e60d88f0e22a048f343947c458cc3 (diff) | |
download | fbida-1ba89ef4299fb9376b72286fde1994b24710067a.tar.gz |
64bit fix
-rw-r--r-- | fb-gui.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -3,6 +3,7 @@ #include <string.h> #include <math.h> #include <wchar.h> +#include <inttypes.h> #include <sys/ioctl.h> #include <linux/fb.h> @@ -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) { |