--- IMG_xcf.c +++ IMG_xcf.c @@ -640,7 +640,8 @@ *row++ = 0xFF000000 | (((Uint32) (*p8)) << 16) | (((Uint32) (*p8)) << 8) - | (((Uint32) (*p8++)) << 0); + | (((Uint32) (*p8)) << 0); + p8++; } break; default: