Mercurial > hg > dmlib
diff src/libgfx.h @ 1301:e03f20d0f785
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 19 Aug 2017 04:25:02 +0300 |
parents | 2c4acbc3e7bf |
children |
line wrap: on
line diff
--- a/src/libgfx.h Sat Aug 19 03:57:15 2017 +0300 +++ b/src/libgfx.h Sat Aug 19 04:25:02 2017 +0300 @@ -104,7 +104,7 @@ BOOL dmCompareColor(const DMColor *c1, const DMColor *c2, BOOL alpha); -int dmWriteImageData(DMImage *img, void *cbdata, int (*writeRowCB)(void *, Uint8 *, size_t), const DMImageConvSpec *spec); +int dmWriteImageData(DMImage *img, void *cbdata, int (*writeRowCB)(void *, const Uint8 *, const size_t), const DMImageConvSpec *spec); int dmWriteIFFMasterRAWPalette(FILE *fp, DMImage *img, int ncolors, const char *indent, const char *type); int dmWriteRAWImageFILE(FILE *fp, DMImage *img, const DMImageConvSpec *spec);