Justin Hibbits 534ccd7bbf Replace all resource occurrences of '0UL/~0UL' with '0/~0'.
Summary:
The idea behind this is '~0ul' is well-defined, and casting to uintmax_t, on a
32-bit platform, will leave the upper 32 bits as 0.  The maximum range of a
resource is 0xFFF.... (all bits of the full type set).  By dropping the 'ul'
suffix, C type promotion rules apply, and the sign extension of ~0 on 32 bit
platforms gets it to a type-independent 'unsigned max'.

Reviewed By: cem
Sponsored by:	Alex Perez/Inertial Computing
Differential Revision: https://reviews.freebsd.org/D5255
2016-03-03 05:07:35 +00:00
..
2015-10-24 03:16:40 +00:00
2015-07-08 22:09:47 +00:00
2016-01-29 15:12:31 +00:00
2015-12-31 11:21:45 +00:00
2015-07-04 10:33:33 +00:00
2015-12-27 18:12:13 +00:00
2015-07-16 07:05:42 +00:00
2015-10-08 21:52:20 +00:00
2016-01-29 15:12:31 +00:00
2015-10-26 02:21:19 +00:00
2015-12-24 04:30:15 +00:00
2015-05-15 20:43:37 +00:00
2015-12-13 04:15:10 +00:00
2015-05-28 22:06:05 +00:00
2016-02-20 01:34:13 +00:00
2015-09-29 12:14:59 +00:00
2015-05-24 11:24:14 +00:00
2015-11-19 05:50:22 +00:00
2016-03-01 17:47:32 +00:00
2015-04-22 14:38:58 +00:00
2015-04-22 14:38:58 +00:00