diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-04-03 15:34:48 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-04-03 15:34:48 +0200 |
commit | b386962981d7667cd0d14cc50969eb82d0d71dcc (patch) | |
tree | d75928a8b0dba43763b67cd505467f2a9309fe38 /src/gdisp | |
parent | 4871a420573d1a4986eb8a3cee18e4a8c58faee5 (diff) | |
parent | 8b15aab802024434bd8565aebb33368e66532a97 (diff) | |
download | uGFX-b386962981d7667cd0d14cc50969eb82d0d71dcc.tar.gz uGFX-b386962981d7667cd0d14cc50969eb82d0d71dcc.tar.bz2 uGFX-b386962981d7667cd0d14cc50969eb82d0d71dcc.zip |
merged inmarket
Diffstat (limited to 'src/gdisp')
-rw-r--r-- | src/gdisp/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gdisp/image.c b/src/gdisp/image.c index 616aab11..3da0844d 100644 --- a/src/gdisp/image.c +++ b/src/gdisp/image.c @@ -88,10 +88,10 @@ static void ImageMemoryClose(struct gdispImageIO *pio) { static const gdispImageIOFunctions ImageMemoryFunctions = { ImageMemoryRead, ImageMemorySeek, ImageMemoryClose }; -bool_t gdispImageSetMemoryReader(gdispImage *img, const char *memimage) { +bool_t gdispImageSetMemoryReader(gdispImage *img, const void *memimage) { img->io.fns = &ImageMemoryFunctions; img->io.pos = 0; - img->io.fd = (void *)memimage; + img->io.fd = memimage; return TRUE; } |