# HG changeset patch # User Matti Hamalainen # Date 1526465966 -10800 # Node ID 4c96181c9c09f6351949dca8e59b23c59ca548c5 # Parent 625a7867877ee1f2915d927597a75122e2dd489c Cleanup. diff -r 625a7867877e -r 4c96181c9c09 tools/libgfx.c --- 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);