* libntp/msyslog.c:
* libntp/gpstolfp.c:
Lint cleanup
From: Jonathan Stone <jonathan@dsg.stanford.edu>
bk: 38080b98u_5AssrzlvlamGPwoUTtBQ
1999-10-16 Harlan Stenn <stenn@whimsy.udel.edu>
+ * libntp/msyslog.c:
+ * libntp/gpstolfp.c:
+ Lint cleanup
+ From: Jonathan Stone <jonathan@dsg.stanford.edu>
+
* parseutil/dcfd.c: abs() -> l_abs(), time.h (AIX 4.3.2 patches)
From: Dana Kaempen <decay@flash.net>
*/
#include "ntp_fp.h"
-#define GPSORIGIN (unsigned)(2524953600) /* NTP origin - GPS origin in seconds */
+#define GPSORIGIN (unsigned)(2524953600UL) /* NTP origin - GPS origin in seconds */
#define SECSPERWEEK (unsigned)(604800) /* seconds per week - GPS tells us about weeks */
#define GPSWRAP 990 /* assume week count less than this in the previous epoch */
if ((unsigned)olderrno > sys_nerr)
sprintf((char *)(err = xerr), "error %d", olderrno);
else
- err = sys_errlist[olderrno];
+ err = (char*)sys_errlist[olderrno];
#elif defined(VMS) || defined (SYS_VXWORKS)
err = strerror(olderrno);
#else /* SYS_WINNT */