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-14 14:59:02 -06:00
2016-11-19 00:21:42 -05:00
2022-01-14 14:59:02 -06:00
2008-09-13 08:53:55 +00:00
2019-01-02 13:56:04 -05:00
2019-01-09 00:14:11 -06:00
2015-03-14 16:08:39 -04:00
2022-01-14 14:59:02 -06:00
2012-05-03 14:24:18 -05:00
2022-01-14 14:59:02 -06:00
2022-01-15 22:28:42 -05:00
2021-08-12 17:37:01 +10:00
2022-01-14 17:59:49 -06:00
2021-10-11 13:58:15 -05:00
2021-10-11 13:58:15 -05:00
2010-08-20 13:06:54 -04:00
2022-01-02 21:40:17 +11:00
2019-10-03 13:09:18 -05:00
2010-08-20 13:06:54 -04:00
2019-05-30 20:11:03 -04:00
2022-01-14 14:59:02 -06:00
2022-01-15 18:54:57 +11:00
2018-12-31 14:17:10 -06:00
2022-01-14 14:59:02 -06:00
2018-12-31 14:17:10 -06:00
2018-12-31 14:17:10 -06:00
2010-03-16 12:52:58 -07:00
2017-04-29 13:55:24 -04:00
2010-03-16 12:52:58 -07:00
2022-01-16 00:23:05 -05:00
2022-01-14 14:59:02 -06:00
2022-01-14 14:59:02 -06:00
2010-03-16 12:52:58 -07:00
2021-12-23 13:52:12 +11:00