]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 305] More lint
authorHarlan Stenn <stenn@ntp.org>
Tue, 4 May 2004 07:43:00 +0000 (03:43 -0400)
committerHarlan Stenn <stenn@ntp.org>
Tue, 4 May 2004 07:43:00 +0000 (03:43 -0400)
bk: 40974984mdqAKFjMuYaqf8gzpsOy9Q

ntpd/ntp_refclock.c

index e0e9d461f9f384c25f07227cf8e37e2d9a553839..b33fc894958063f484f8631dc7671a18681015ab 100644 (file)
@@ -213,7 +213,7 @@ refclock_newpeer(
        /*
         * Allocate and initialize interface structure
         */
-       pp = emalloc(sizeof(struct refclockproc));
+       pp = (struct refclockproc *)emalloc(sizeof(struct refclockproc));
        if (pp == NULL)
                return (0);