James Legg
e2dbed9cfe
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.
2020-05-29 13:05:37 +01:00
..
2020-02-13 20:50:47 +00:00
2020-05-20 16:58:33 -04:00
2020-05-26 13:19:48 -07:00
2020-02-04 16:46:22 +00:00
2020-05-04 02:27:29 -04:00
2020-05-26 16:34:50 -07:00
2020-02-10 13:59:05 -08:00
2020-04-07 09:38:57 -07:00
2020-05-27 10:27:04 -07:00
2020-05-06 03:18:25 -04:00
2020-05-27 10:35:43 -07:00
2020-01-29 20:09:16 -08:00
2020-01-16 20:49:25 -08:00
2020-05-21 04:01:37 -04:00
2020-05-04 02:27:29 -04:00
2020-01-16 20:49:25 -08:00
2020-05-26 13:54:47 -07:00
2020-05-21 03:52:48 -04:00
2020-05-27 09:22:12 -07:00
2020-03-25 01:34:15 -04:00
2020-05-26 13:19:44 -07:00
2020-01-16 20:49:25 -08:00
2020-05-29 13:05:37 +01:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-04-21 01:30:36 -04:00
2020-04-21 01:30:36 -04:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-04-07 09:38:57 -07:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00