author | M. Sean Finney <seanius@users.sourceforge.net> | |
Sat, 20 Jan 2007 10:59:25 +0000 (10:59 +0000) | ||
committer | M. Sean Finney <seanius@users.sourceforge.net> | |
Sat, 20 Jan 2007 10:59:25 +0000 (10:59 +0000) | ||
commit | 3b5742d0b972f3bea7ce1e9bc640cd5677f9d606 | |
tree | 181fedb478c2c0369ea4aae45765f90bd19c1170 | tree | snapshot |
parent | 2c25c058289e2f999a2b3cff20d10f19bdea6196 | commit | diff |
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
- 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 | diff | blob | history |