[Git][NTPsec/ntpsec][master] 2 commits: Some u_long -> unsigned int changes.

Gary E. Miller gem at rellim.com
Fri Sep 23 19:31:31 UTC 2016


Yo Joel!

On Fri, 23 Sep 2016 13:41:07 -0500
Joel Sherrill <joel at rtems.org> wrote:

> > In C, ints are not guaranteed to be longer than 16 bits.

> See C99 "5.2.4.2.1 Sizes of integer types" for the normative
> definition.
> 
> http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf (pg 33 of
> PDF)

Good reference.  Page 32, marked as page 22):

    minimum value for an object of type int
    INT_MIN                     -32767 // − (2e15 − 1)

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ntpsec.org/pipermail/devel/attachments/20160923/874f1542/attachment.bin>


More information about the devel mailing list