diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-04-19 12:32:24 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-04-19 12:32:24 +0000 |
commit | 81ad700162a2fa639a69c1c6e3969ed8f7b3f63b (patch) | |
tree | 4b775337975e1891e9e57ce89ea5acc2918006a1 /src/plot/32bpp.c | |
parent | 02b57c267d23c5d01e0ca5e7965ffc1194034e17 (diff) | |
download | libnsfb-81ad700162a2fa639a69c1c6e3969ed8f7b3f63b.tar.gz libnsfb-81ad700162a2fa639a69c1c6e3969ed8f7b3f63b.tar.bz2 |
Commit fixes from "Building NetSurf on arm-linux framebuffer" thread on netsurf-users ML.
svn path=/trunk/libnsfb/; revision=12203
Diffstat (limited to 'src/plot/32bpp.c')
-rw-r--r-- | src/plot/32bpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plot/32bpp.c b/src/plot/32bpp.c index ff03ed6..aae1b39 100644 --- a/src/plot/32bpp.c +++ b/src/plot/32bpp.c @@ -23,7 +23,7 @@ static inline uint32_t *get_xy_loc(nsfb_t *nsfb, int x, int y) { - return (uint32_t *)(nsfb->ptr + (y * nsfb->linelen) + (x << 2)); + return (void *)(nsfb->ptr + (y * nsfb->linelen) + (x << 2)); } #if __BYTE_ORDER == __BIG_ENDIAN |