comparison tools/gfxconv.c @ 2633:d683f47e4dd9

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Dec 2023 07:20:25 +0200
parents 9807ae37ad69
children
comparison
equal deleted inserted replaced
2632:17679e05c63b 2633:d683f47e4dd9
2274 2274
2275 return true; 2275 return true;
2276 } 2276 }
2277 2277
2278 2278
2279 int dmWriteSpritesAndChars(const char *filename, DMImage *image, int outFormat, const bool multicolor) 2279 int dmWriteSpritesAndChars(const char *filename, DMImage *image, const int outFormat, const bool multicolor)
2280 { 2280 {
2281 int ret = DMERR_OK; 2281 int ret = DMERR_OK;
2282 int outBlockW, outBlockH, bx, by; 2282 int outBlockW, outBlockH, bx, by;
2283 FILE *outFile = NULL; 2283 FILE *outFile = NULL;
2284 Uint8 *tmpBuf = NULL; 2284 Uint8 *tmpBuf = NULL;