aboutsummaryrefslogtreecommitdiff
path: root/sbin/iscontrol
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2011-01-08 11:13:34 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2011-01-08 11:13:34 +0000
commit9858863cd4959006703cb9529d07777637315c69 (patch)
tree932f41023ad8badf93d44c65a1df3adb5980bc73 /sbin/iscontrol
parent4e738f5a8dd6af846c5d68f5031e8277698cb8f9 (diff)
Fix types of some values in machine/_limits.h.
On some architectures UCHAR_MAX and USHRT_MAX had type unsigned int. However, lacking integer suffixes for types smaller than int, their type should correspond to that of an object of type unsigned char (or short) when used in an expression with objects of type int. In that case unsigned char (short) are promoted to int (i.e. signed) so the type of UCHAR_MAX and USHRT_MAX should also be int. Where MIN/MAX constants implicitly have the correct type the suffix has been removed. While here, correct some comments. Reviewed by: bde Approved by: kib (mentor)
Notes
Notes: svn path=/head/; revision=217145
Diffstat (limited to 'sbin/iscontrol')
0 files changed, 0 insertions, 0 deletions