summaryrefslogtreecommitdiff
path: root/src/plot/32bpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plot/32bpp.c')
-rw-r--r--src/plot/32bpp.c2
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