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-03 16:24:11 +11:00
2020-05-28 00:49:30 -05:00
2012-06-20 19:32:08 -05:00
2022-01-14 12:01:33 -06:00
2020-05-27 23:22:40 -05:00
2020-05-28 00:49:30 -05:00
2020-03-12 21:02:09 -05:00
2020-06-29 11:40:48 -04:00
2022-01-16 00:23:05 -05:00
2021-11-24 22:30:44 -05:00
2022-01-06 17:21:06 +11:00
2022-01-14 12:01:33 -06:00
2022-01-14 12:01:33 -06:00
2022-01-06 17:21:06 +11:00
2022-01-14 12:01:33 -06:00
2021-12-14 09:03:42 +11:00
2020-07-14 09:35:14 +10:00
2022-01-04 12:27:43 +11:00
2022-01-08 17:40:22 +11:00
2022-01-08 17:40:22 +11:00
2022-01-15 18:54:57 +11:00
2014-08-22 20:57:24 -07:00
2022-01-14 12:01:33 -06:00
2020-07-14 09:35:14 +10:00
2020-07-14 09:35:14 +10:00
2012-06-20 19:32:08 -05:00
2022-01-06 17:21:06 +11:00
2022-01-14 12:01:33 -06:00
2012-06-20 19:32:08 -05:00
2022-01-06 17:21:06 +11:00
2022-01-02 21:16:36 -06:00
2022-01-04 02:22:23 +00:00
2020-03-02 10:56:13 -06:00