Jeff King
9a93c6686f
avoid shifting signed integers 31 bits
...
We sometimes use 32-bit unsigned integers as bit-fields.
It's fine to access the MSB, because it's unsigned. However,
doing so as "1 << 31" is wrong, because the constant "1" is
a signed int, and we shift into the sign bit, causing
undefined behavior.
We can fix this by using "1U" as the constant.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-01-04 09:51:16 -08:00
..
2015-11-05 12:18:12 -08:00
2015-11-03 15:32:39 -08:00
2014-07-16 11:10:11 -07:00
2015-09-14 11:44:44 -07:00
2015-11-03 15:32:43 -08:00
2015-10-16 09:45:15 -07:00
2015-05-08 10:52:11 -07:00
2015-10-16 15:27:52 -07:00
2015-10-16 15:27:52 -07:00
2015-10-16 15:27:52 -07:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-05-05 10:31:51 -07:00
2015-09-03 19:18:00 -07:00
2015-06-16 14:33:47 -07:00
2015-11-05 12:18:08 -08:00
2015-01-14 09:32:04 -08:00
2015-10-16 15:27:52 -07:00
2015-11-16 08:59:19 -05:00
2015-08-20 13:16:50 -07:00
2015-08-17 09:14:59 -07:00
2015-08-31 15:39:10 -07:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2014-10-01 13:56:14 -07:00
2015-06-22 13:17:12 -07:00
2015-01-14 09:32:04 -08:00
2015-09-03 19:17:48 -07:00
2015-12-11 11:14:13 -08:00
2015-08-03 10:41:31 -07:00
2015-10-16 14:32:50 -07:00
2015-12-04 11:33:08 -08:00
2015-10-16 15:27:52 -07:00
2015-04-20 15:28:34 -07:00
2015-10-16 15:27:52 -07:00
2015-03-20 13:11:53 -07:00
2015-08-19 14:48:55 -07:00
2015-08-25 12:49:19 -07:00
2014-10-13 13:55:27 -07:00
2015-08-25 13:11:21 -07:00
2015-08-20 09:57:38 -07:00
2015-09-28 11:07:04 -07:00
2014-12-01 11:33:45 -08:00
2015-01-14 09:32:04 -08:00
2014-10-07 10:49:57 -07:00
2015-01-14 09:32:04 -08:00
2015-11-03 15:32:41 -08:00
2015-01-14 09:32:04 -08:00
2015-09-28 14:57:10 -07:00
2015-12-11 11:14:13 -08:00
2015-10-16 15:27:52 -07:00
2014-03-03 14:54:45 -08:00
2015-01-14 09:32:04 -08:00
2015-05-25 12:19:29 -07:00
2015-10-16 09:45:15 -07:00
2015-09-01 16:31:12 -07:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-10-16 15:27:52 -07:00
2015-01-14 09:32:04 -08:00
2015-11-03 15:32:25 -08:00
2015-10-16 14:32:32 -07:00
2015-08-19 12:58:58 -07:00
2015-09-01 16:31:16 -07:00
2016-01-04 09:51:16 -08:00
2015-12-11 11:14:13 -08:00
2014-10-07 11:09:16 -07:00
2015-08-10 15:37:12 -07:00
2015-11-03 15:32:25 -08:00
2015-08-03 11:01:10 -07:00
2015-09-28 19:16:54 -07:00
2015-08-10 15:37:14 -07:00
2015-08-24 10:33:15 -07:00
2015-10-26 14:06:46 -07:00
2015-01-14 09:32:04 -08:00
2015-05-20 13:49:10 -07:00
2015-08-19 12:58:58 -07:00
2015-06-29 11:39:07 -07:00
2015-12-11 11:14:14 -08:00
2015-10-16 15:27:52 -07:00
2015-11-03 15:32:38 -08:00
2015-01-14 09:32:04 -08:00
2015-10-16 09:45:15 -07:00
2015-10-16 15:27:52 -07:00
2015-05-26 13:24:46 -07:00
2015-09-11 09:50:02 -07:00
2015-06-22 14:20:47 -07:00
2015-01-14 09:32:04 -08:00
2015-06-22 14:20:47 -07:00
2015-11-04 14:20:44 -08:00