Commit e2dbed9cfe37bf775c705d105f5c47fa6c8ef425

James Legg 2020-05-29T13:05:37

SDL_blit: Fix undefined bitshift operations Arithmatic operations promote Uint8 to signed int. If the top bit of a Uint8 is set, and it is left shifted 24 places, then the result is not representable in a signed 32 bit int. This would be undefined behaviour on systems where int is 32 bits.