Jeffrey Altman
f341fa7721
prevent unintended sign extension errors
...
When an unsigned char is shifted << 24 bits its type will be
promoted to signed 32-bits. If the value is then assigned to
an unsigned 64-bit value sign extension will occur.
Prevent the unwanted sign extension by explicitly casting the
value to unsigned long before shifting.
Change-Id: Iabeac0f17dc3229a2dc89abe71960a8ffbf523f8
2022-01-16 00:23:05 -05:00
..
2022-01-01 23:30:15 -06:00
2022-01-15 18:54:57 +11:00
2022-01-16 00:23:05 -05:00
2021-11-29 12:50:26 +11:00
2022-01-14 17:39:05 -06:00
2022-01-14 17:39:05 -06:00
2021-11-11 22:41:13 -06:00
2008-09-13 08:53:55 +00:00
2018-12-18 23:28:38 -06:00
2018-12-14 17:30:14 -05:00
2011-11-22 12:18:48 -08:00
2020-10-12 21:55:51 +01:00
2022-01-14 17:39:05 -06:00
2021-10-19 20:45:40 +11:00
2011-05-21 11:57:31 -07:00
2008-09-13 09:21:03 +00:00
2011-11-22 12:18:48 -08:00
2022-01-01 23:30:15 -06:00
2010-08-20 13:14:15 -04:00
2022-01-14 20:10:19 -06:00
2022-01-05 17:36:24 -06:00
2021-03-25 10:38:28 -05:00
2020-04-25 21:22:32 -05:00
2020-03-02 17:48:04 -06:00
2011-11-02 23:20:55 -05:00
2008-09-13 09:21:03 +00:00
2022-01-14 17:39:05 -06:00
2020-04-25 23:19:30 -05:00
2019-10-03 13:09:18 -05:00
2022-01-02 21:19:13 -06:00
2020-03-02 17:16:58 +11:00
2016-11-16 17:03:14 -06:00
2021-11-24 22:30:44 -05:00
2022-01-01 23:30:15 -06:00