]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Correct incompatible pointer type assignment warning refclock_tsyncpci.c:341
authorDave Hart <hart@ntp.org>
Sat, 2 Jun 2012 12:51:48 +0000 (12:51 +0000)
committerDave Hart <hart@ntp.org>
Sat, 2 Jun 2012 12:51:48 +0000 (12:51 +0000)
bk: 4fca0c64ObCynroVZb3UwzycGh6tkg

ntpd/refclock_tsyncpci.c

index 3b045d0574d676fd8a99f002aebddb4a1b61dfc9..61594f06846c05590418d664b294fe9fa94446e2 100644 (file)
@@ -338,7 +338,7 @@ static int tsync_start(int unit, struct peer *peer)
     pp                = peer->procptr;
     pp->clockdesc     = DESCRIPTION;
     pp->io.clock_recv = noentry;
-    pp->io.srcclock   = (caddr_t)peer;
+    pp->io.srcclock   = peer;
     pp->io.datalen    = 0;
     peer->precision   = PRECISION;