--- a/innd/cc.c
+++ b/innd/cc.c
@@ -1142,7 +1142,7 @@ CCparam(av)
 	break;
     case 'c':
 	Cutoff = atoi(p) * 24 * 60 * 60;
-	syslog(L_NOTICE, "%s changed -c %d", LogName, Cutoff);
+	syslog(L_NOTICE, "%s changed -c %ld", LogName, Cutoff);
 	break;
     case 'i':
 	MaxIncoming = atoi(p);
@@ -1710,7 +1710,7 @@ CCreader(cp)
     char		*tbuff ;
 
     if (cp != CCchan) {
-	syslog(L_ERROR, "%s internal CCreader wrong channel 0x%x not 0x%x",
+	syslog(L_ERROR, "%s internal CCreader wrong channel %p not %p",
 	    LogName, cp, CCchan);
 	return;
     }
--- a/innd/chan.c
+++ b/innd/chan.c
@@ -206,13 +206,13 @@ CHANtracing(cp, Flag)
 	syslog(L_NOTICE, "%s trace address %s lastactive %ld nextlog %ld",
 	    p, inet_ntoa(cp->Address), cp->LastActive, cp->NextLog);
 	if (FD_ISSET(cp->fd, &SCHANmask))
-	    syslog(L_NOTICE, "%s trace sleeping %ld 0x%x",
+	    syslog(L_NOTICE, "%s trace sleeping %ld %p",
 		p, (long)cp->Waketime, cp->Waker);
 	if (FD_ISSET(cp->fd, &RCHANmask))
-	    syslog(L_NOTICE, "%s trace reading %d %s",
+	    syslog(L_NOTICE, "%s trace reading %ld %s",
 		p, cp->In.Used, MaxLength(cp->In.Data, cp->In.Data));
 	if (FD_ISSET(cp->fd, &WCHANmask))
-	    syslog(L_NOTICE, "%s trace writing %d %s",
+	    syslog(L_NOTICE, "%s trace writing %ld %s",
 		p, cp->Out.Left, MaxLength(cp->Out.Data, cp->Out.Data));
     }
 }
@@ -237,7 +237,7 @@ CHANclose(cp, name)
 	else if (cp->Type == CTreject)
 	    syslog(L_NOTICE, "%s %ld", name, cp->Rejected);
 	else if (cp->Out.Left)
-	    syslog(L_NOTICE, "%s closed lost %d", name, cp->Out.Left);
+	    syslog(L_NOTICE, "%s closed lost %ld", name, cp->Out.Left);
 	else
 	    syslog(L_NOTICE, "%s closed", name);
 	WCHANremove(cp);
@@ -662,12 +662,12 @@ WCHANflush(cp)
     for (bp = &cp->Out; bp->Left > 0; bp->Left -= i, bp->Used += i) {
 	i = largewrite(cp->fd, &bp->Data[bp->Used], bp->Left);
 	if (i < 0) {
-	    syslog(L_ERROR, "%s cant flush count %d %m",
+	    syslog(L_ERROR, "%s cant flush count %ld %m",
 		CHANname(cp), bp->Left);
 	    return FALSE;
 	}
 	if (i == 0) {
-	    syslog(L_ERROR, "%s cant flush count %d",
+	    syslog(L_ERROR, "%s cant flush count %ld",
 		CHANname(cp), bp->Left);
 	    return FALSE;
 	}
--- a/innd/lc.c
+++ b/innd/lc.c
@@ -28,7 +28,7 @@ LCreader(cp)
     CHANNEL	*new;
 
     if (cp != LCchan) {
-	syslog(L_ERROR, "%s internal LCreader wrong channel 0x%x not 0x%x",
+	syslog(L_ERROR, "%s internal LCreader wrong channel %p not %p",
 	    LogName, cp, LCchan);
 	return;
     }
--- a/innd/nc.c
+++ b/innd/nc.c
@@ -199,7 +199,7 @@ NCwritereply(cp, text)
     if (i == 0) {	/* if only data then try to write directly */
 	i = write(cp->fd, &bp->Data[bp->Used], bp->Left);
 	if (Tracing || cp->Tracing)
-	    syslog(L_TRACE, "%s NCwritereply %d=write(%d, \"%.15s\", %d)",
+	    syslog(L_TRACE, "%s NCwritereply %d=write(%d, \"%.15s\", %ld)",
 		CHANname(cp), i, cp->fd,  &bp->Data[bp->Used], bp->Left);
 	if (i > 0) bp->Used += i;
 	if (bp->Used == bp->Left) {
@@ -989,7 +989,7 @@ NCproc(cp)
     int			i;
 
     if (Tracing || cp->Tracing)
-	syslog(L_TRACE, "%s NCproc Used=%d",
+	syslog(L_TRACE, "%s NCproc Used=%ld",
 	    CHANname(cp), cp->In.Used);
 
     bp = &cp->In;
@@ -1200,7 +1200,7 @@ NCproc(cp)
 		}
 		p = wp->MessageID;
 		i = wp->Size + bp->Used;
-		syslog(L_ERROR, "%s internal rejecting huge article %s (%d > %d)",
+		syslog(L_ERROR, "%s internal rejecting huge article %s (%d > %ld)",
 		    CHANname(cp), p ? p : "(null)", i, LargestArticle);
 		(void)sprintf(buff, "%d Article exceeds local limit of %ld bytes",
 			NNTP_REJECTIT_VAL, LargestArticle);
@@ -1338,7 +1338,7 @@ NCproc(cp)
 	    break;
 	}
 	if (Tracing || cp->Tracing)
-		syslog(L_TRACE, "%s NCproc Rest=%d Used=%d SaveUsed=%d",
+		syslog(L_TRACE, "%s NCproc Rest=%d Used=%ld SaveUsed=%d",
 		    CHANname(cp), cp->Rest, bp->Used, cp->SaveUsed);
 
 	if (cp->Rest > 0) {
@@ -1371,7 +1371,7 @@ NCreader(cp)
     int			i;
 
     if (Tracing || cp->Tracing)
-	syslog(L_TRACE, "%s NCreader Used=%d",
+	syslog(L_TRACE, "%s NCreader Used=%ld",
 	    CHANname(cp), cp->In.Used);
 
     /* Read any data that's there; ignore errors (retry next time it's our
--- a/innd/rc.c
+++ b/innd/rc.c
@@ -320,7 +320,7 @@ RCreader(cp)
     CHANNEL		tempchan;
 
     if (cp != RCchan) {
-	syslog(L_ERROR, "%s internal RCreader wrong channel 0x%x not 0x%x",
+	syslog(L_ERROR, "%s internal RCreader wrong channel %p not %p",
 	    LogName, cp, RCchan);
 	return;
     }
--- a/innd/site.c
+++ b/innd/site.c
@@ -206,7 +206,7 @@ SITECHANbilge(sp)
         i = write(fd, (POINTER) &sp->Channel->Out.Data[sp->Channel->Out.Used],
             (SIZE_T) sp->Channel->Out.Left);
         if(i <= 0) {
-            syslog(L_ERROR,"%s cant spool count %d",CHANname(sp->Channel),
+            syslog(L_ERROR,"%s cant spool count %ld",CHANname(sp->Channel),
                 sp->Channel->Out.Left);
             close(fd);
             return FALSE;
@@ -778,7 +778,7 @@ SITEchanclose(cp)
 	     * site spooling, copy any data that might be pending,
 	     * and arrange to retry later. */
 	    if (!SITEspool(sp, (CHANNEL *)NULL)) {
-		syslog(L_ERROR, "%s loss %d bytes", sp->Name, cp->Out.Left);
+		syslog(L_ERROR, "%s loss %ld bytes", sp->Name, cp->Out.Left);
 		return;
 	    }
 	    WCHANsetfrombuffer(sp->Channel, &cp->Out);
@@ -869,11 +869,11 @@ SITEflush(sp, Restart)
     else if (cp != NULL && cp->Out.Left) {
 	if (sp->Type == FTfile || sp->Spooling) {
 	    /* Can't flush a file?  Hopeless. */
-	    syslog(L_ERROR, "%s dataloss %d", sp->Name, cp->Out.Left);
+	    syslog(L_ERROR, "%s dataloss %ld", sp->Name, cp->Out.Left);
 	    return;
 	}
 	/* Must be a working channel; spool and retry. */
-	syslog(L_ERROR, "%s spooling %d bytes", sp->Name, cp->Out.Left);
+	syslog(L_ERROR, "%s spooling %ld bytes", sp->Name, cp->Out.Left);
 	if (SITEspool(sp, cp))
 	    SITEflush(sp, FALSE);
 	return;
