* ntpd/refclock_fg.c (fg_receive): Cast.
From: Tom Smith <smith@cag.lkg.dec.com>
bk: 38710bb6bei5lBsYNxDz-KKgglEs8g
2000-01-03 Harlan Stenn <stenn@whimsy.udel.edu>
+ * ntpd/refclock_fg.c (fg_receive): Cast.
+ From: Tom Smith <smith@cag.lkg.dec.com>
+
* ntpd/map_vme.c (map_vme): tx.access_result indicates failure on
< 0, not <= 0. A fix that apparently did not get brought over
from the ntp3 base.
* sometime you can find it with some offset.
*/
- bpt=rbufp->recv_space.X_recv_buffer;
+ bpt = (char *)rbufp->recv_space.X_recv_buffer;
while(*bpt != '\10')
bpt++;
memcpy(buf, bpt, LENFG);
-
#define BP2(x) ( buf[x] & 15 )
#define BP1(x) (( buf[x] & 240 ) >> 4)
pp->year, pp->day, pp->hour, pp->minute, pp->second);
#endif
-
if (peer->stratum <= 1)
peer->refid = pp->refid;
pp->disp = (10e-6);
if (!refclock_process(pp))
refclock_report(peer, CEVNT_BADTIME);
+ return;
}