✘ntpd/ntp_io.c warnings.

Gary E. Miller gem at rellim.com
Tue Jan 29 00:42:46 UTC 2019


Yo Eric!

New warnings, full build log attached.  The important stuff:

[112/136] Compiling ntpfrob/tickadj.c
../../ntpd/ntp_io.c: In function 'interface_dump':
../../ntpd/ntp_io.c:397:26: warning: format '%x' expects argument of type 'unsig
ned int', but argument 2 has type 'int' [-Wformat=]
  printf("addr_refid = %02x%02x%02x%02x\n",
                       ~~~^
                       %02x
         itf->addr_refid[0], itf->addr_refid[1],
         ~~~~~~~~~~~~~~~~~~
../../ntpd/ntp_io.c:397:30: warning: format '%x' expects argument of type 'unsig
ned int', but argument 3 has type 'int' [-Wformat=]
  printf("addr_refid = %02x%02x%02x%02x\n",
                           ~~~^
                           %02x
         itf->addr_refid[0], itf->addr_refid[1],
                             ~~~~~~~~~~~~~~~~~~
../../ntpd/ntp_io.c:397:34: warning: format '%x' expects argument of type 'unsig
ned int', but argument 4 has type 'int' [-Wformat=]
  printf("addr_refid = %02x%02x%02x%02x\n",
                               ~~~^
                               %02x
../../ntpd/ntp_io.c:399:29:
         itf->addr_refid[2], itf->addr_refid[3]);
                             ~~~~~~~~~~~~~~~~~~

[113/136] Compiling ntpfrob/ntpfrob-man.adoc



RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nohup.out
Type: application/octet-stream
Size: 53125 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190128/65e90e8f/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190128/65e90e8f/attachment-0001.bin>


More information about the devel mailing list