Code

compilation fixes for check_ntp.c:
authorM. Sean Finney <seanius@users.sourceforge.net>
Sat, 20 Jan 2007 10:59:25 +0000 (10:59 +0000)
committerM. Sean Finney <seanius@users.sourceforge.net>
Sat, 20 Jan 2007 10:59:25 +0000 (10:59 +0000)
commit3b5742d0b972f3bea7ce1e9bc640cd5677f9d606
tree181fedb478c2c0369ea4aae45765f90bd19c1170
parent2c25c058289e2f999a2b3cff20d10f19bdea6196
compilation fixes for check_ntp.c:
- check_ntp.c:290: warning: overflow in implicit constant conversion
  fixed with an explicit cast to int8_t.
- check_ntp.c:544: warning: pointer of type â\80\98void *â\80\99 used in arithmetic
  fixed by casting to ptrdiff_t before arithmetic and (void*) afterwards
- in TVtoNTP64, cast arithmetic result passed to R32 as uint64_t.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1571 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ntp.c