Mercurial > hg > dmlib
changeset 1618:4c96181c9c09
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 16 May 2018 13:19:26 +0300 |
parents | 625a7867877e |
children | dacf4c2f7a86 |
files | tools/libgfx.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/libgfx.c Tue May 15 14:29:42 2018 +0300 +++ b/tools/libgfx.c Wed May 16 13:19:26 2018 +0300 @@ -1616,7 +1616,7 @@ DMImage *img; Uint8 *buf; size_t bufLen; - int yc, res = DMERR_OK; + int res = DMERR_OK; *read = 0; @@ -1637,7 +1637,7 @@ dmMsg(2, "ILBM: plane row size %d bytes.\n", bufLen); // Decode the chunk - for (yc = 0; yc < img->height; yc++) + for (int yc = 0; yc < img->height; yc++) { const int nplanes = iff->bmhd.nplanes; Uint8 *dp = img->data + (yc * img->pitch);