✘integer overflow in expression

Gary E. Miller gem at rellim.com
Thu Sep 29 01:31:53 UTC 2016


Yo All!

I'm getting a new warning on the build:

[153/250] Compiling util/sht.c
../../util/hist.c: In function ‘main’:
../../util/hist.c:22:20: warning: integer overflow in expression [-Woverflow]
 #define NCNT (600L * NANOSECONDS) /* sample interval (ns) */
                    ^
../../util/hist.c:57:15: note: in expansion of macro ‘NCNT’
   if (u - v > NCNT)
               ^

I'm guessing this commit: d9024785b6c5a8b648b4f6a6982b6de1d2afa286

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/20160928/8502d03e/attachment.bin>


More information about the devel mailing list