summaryrefslogtreecommitdiff
path: root/gnu/libexec
diff options
context:
space:
mode:
authorross <ross@NetBSD.org>1998-04-17 23:39:29 +0000
committerross <ross@NetBSD.org>1998-04-17 23:39:29 +0000
commit390112ef894a82cb71e144192bc04d8ff33374e7 (patch)
treeeff3e2137af109478557991171100e574315fa79 /gnu/libexec
parentc81c51c2f8e79b0f48c1bb18ae4769d28ebba990 (diff)
LP64 (64 bit) sweep to make these compile.
Diffstat (limited to 'gnu/libexec')
-rw-r--r--gnu/libexec/uucp/libunix/portnm.c2
-rw-r--r--gnu/libexec/uucp/libunix/tcp.c6
-rw-r--r--gnu/libexec/uucp/uucico/protf.c4
-rw-r--r--gnu/libexec/uucp/uucico/protg.c4
-rw-r--r--gnu/libexec/uucp/uucico/protz.c8
5 files changed, 12 insertions, 12 deletions
diff --git a/gnu/libexec/uucp/libunix/portnm.c b/gnu/libexec/uucp/libunix/portnm.c
index e3a53c29af5..8483b1c5eeb 100644
--- a/gnu/libexec/uucp/libunix/portnm.c
+++ b/gnu/libexec/uucp/libunix/portnm.c
@@ -34,7 +34,7 @@ zsysdep_port_name (ftcp_port)
#if HAVE_TCP
{
- size_t clen;
+ int clen;
struct sockaddr s;
clen = sizeof (struct sockaddr);
diff --git a/gnu/libexec/uucp/libunix/tcp.c b/gnu/libexec/uucp/libunix/tcp.c
index 2bd150f325b..6b239841e39 100644
--- a/gnu/libexec/uucp/libunix/tcp.c
+++ b/gnu/libexec/uucp/libunix/tcp.c
@@ -26,7 +26,7 @@
#include "uucp.h"
#if USE_RCS_ID
-const char tcp_rcsid[] = "$Id: tcp.c,v 1.1 1995/08/24 05:20:24 jtc Exp $";
+const char tcp_rcsid[] = "$Id: tcp.c,v 1.2 1998/04/17 23:39:29 ross Exp $";
#endif
#if HAVE_TCP
@@ -231,7 +231,7 @@ ftcp_open (qconn, ibaud, fwait)
while (! FGOT_SIGNAL ())
{
- size_t clen;
+ int clen;
int onew;
pid_t ipid;
@@ -370,7 +370,7 @@ ftcp_dial (qconn, puuconf, qsys, zphone, qdialer, ptdialer)
s.sin_family = AF_INET;
s.sin_addr.s_addr = inet_addr ((char *) zhost);
- if ((long) s.sin_addr.s_addr == (long) -1)
+ if (s.sin_addr.s_addr == INADDR_NONE)
{
ulog (LOG_ERROR, "%s: unknown host name", zhost);
return FALSE;
diff --git a/gnu/libexec/uucp/uucico/protf.c b/gnu/libexec/uucp/uucico/protf.c
index 2e65206a0c7..ffadb56706b 100644
--- a/gnu/libexec/uucp/uucico/protf.c
+++ b/gnu/libexec/uucp/uucico/protf.c
@@ -26,7 +26,7 @@
#include "uucp.h"
#if USE_RCS_ID
-const char protf_rcsid[] = "$Id: protf.c,v 1.3 1995/08/24 05:22:52 jtc Exp $";
+const char protf_rcsid[] = "$Id: protf.c,v 1.4 1998/04/17 23:39:29 ross Exp $";
#endif
#include <ctype.h>
@@ -508,7 +508,7 @@ ffprocess_data (qdaemon, pfexit, pcneed)
{
DEBUG_MESSAGE1 (DEBUG_PROTO,
"ffprocess_data: Got %d bytes",
- zto - zstart);
+ (int)(zto - zstart));
cFrec_data += zto - zstart;
if (! fgot_data (qdaemon, zstart, (size_t) (zto - zstart),
diff --git a/gnu/libexec/uucp/uucico/protg.c b/gnu/libexec/uucp/uucico/protg.c
index 6600258a98e..006923fcf5e 100644
--- a/gnu/libexec/uucp/uucico/protg.c
+++ b/gnu/libexec/uucp/uucico/protg.c
@@ -26,7 +26,7 @@
#include "uucp.h"
#if USE_RCS_ID
-const char protg_rcsid[] = "$Id: protg.c,v 1.3 1995/08/24 05:22:53 jtc Exp $";
+const char protg_rcsid[] = "$Id: protg.c,v 1.4 1998/04/17 23:39:29 ross Exp $";
#endif
#include <ctype.h>
@@ -1009,7 +1009,7 @@ fgsenddata (qdaemon, zdata, cdata, ilocal, iremote, ipos)
DEBUG_MESSAGE2 (DEBUG_PROTO,
"fgsenddata: Sending packet %d (%d bytes)",
- CONTROL_XXX (z[IFRAME_CONTROL]), cdata);
+ CONTROL_XXX (z[IFRAME_CONTROL]), (int)cdata);
return fsend_data (qdaemon->qconn, z, CFRAMELEN + csize, TRUE);
}
diff --git a/gnu/libexec/uucp/uucico/protz.c b/gnu/libexec/uucp/uucico/protz.c
index 8cc65539c03..ae5c1d643b3 100644
--- a/gnu/libexec/uucp/uucico/protz.c
+++ b/gnu/libexec/uucp/uucico/protz.c
@@ -181,7 +181,7 @@
#include "uucp.h"
#if USE_RCS_ID
-const char protz_rcsid[] = "$Id: protz.c,v 1.3 1995/08/24 05:23:01 jtc Exp $";
+const char protz_rcsid[] = "$Id: protz.c,v 1.4 1998/04/17 23:39:29 ross Exp $";
#endif
#include <errno.h>
@@ -743,7 +743,7 @@ int ilocal;
int iremote;
long ipos;
{
- DEBUG_MESSAGE1 (DEBUG_PROTO, "fzsenddata: %d bytes", cdata);
+ DEBUG_MESSAGE1 (DEBUG_PROTO, "fzsenddata: %ld bytes", (long)cdata);
if (! fzsend_data (qdaemon, zdata, cdata, cdata == 0))
return FALSE;
@@ -819,8 +819,8 @@ boolean fendofmessage;
default : type = "UNKNOWN!!!"; break;
}
DEBUG_MESSAGE3 (DEBUG_PROTO,
- "fzsend_data: %s, pos 0x%lx, %d bytes",
- type, wpZtxpos, n);
+ "fzsend_data: %s, pos 0x%lx, %ld bytes",
+ type, wpZtxpos, (long)n);
}
#endif