From 7b93eaaf8c3045273370e8183827dd3d9b38306c Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Tue, 10 Feb 1998 06:25:33 +0000 Subject: [PATCH] pretty some types, real minor --- src/include/rpc/pmap_prot.h | 14 +++++++------- src/include/rpc/rpc_des.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/include/rpc/pmap_prot.h b/src/include/rpc/pmap_prot.h index eb1266c7..4b96be75 100644 --- a/src/include/rpc/pmap_prot.h +++ b/src/include/rpc/pmap_prot.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_prot.h,v 1.2 1997/09/21 10:46:12 niklas Exp $ */ +/* $OpenBSD: pmap_prot.h,v 1.3 1998/02/10 06:25:32 deraadt Exp $ */ /* $NetBSD: pmap_prot.h,v 1.4 1994/10/26 00:57:00 cgd Exp $ */ /* @@ -52,13 +52,13 @@ * TRUE is success, FALSE is failure. Un-registers pair * [prog, vers]. prot and port are ignored. * - * PMAPPROC_GETPORT(struct pmap) returns (long unsigned). + * PMAPPROC_GETPORT(struct pmap) returns (unsigned long). * 0 is failure. Otherwise returns the port number where the pair * [prog, vers] is registered. It may lie! * * PMAPPROC_DUMP() RETURNS (struct pmaplist *) * - * PMAPPROC_CALLIT(unsigned, unsigned, unsigned, string<>) + * PMAPPROC_CALLIT(unsigned int, unsigned int, unsigned int, string<>) * RETURNS (port, string<>); * usage: encapsulatedresults = PMAPPROC_CALLIT(prog, vers, proc, encapsulatedargs); * Calls the procedure on the local machine. If it is not registered, @@ -87,10 +87,10 @@ #define PMAPPROC_CALLIT ((u_long)5) struct pmap { - long unsigned pm_prog; - long unsigned pm_vers; - long unsigned pm_prot; - long unsigned pm_port; + unsigned long pm_prog; + unsigned long pm_vers; + unsigned long pm_prot; + unsigned long pm_port; }; struct pmaplist { diff --git a/src/include/rpc/rpc_des.h b/src/include/rpc/rpc_des.h index 3622f3b8..62e91a32 100644 --- a/src/include/rpc/rpc_des.h +++ b/src/include/rpc/rpc_des.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rpc_des.h,v 1.2 1997/09/21 10:46:14 niklas Exp $ */ +/* $OpenBSD: rpc_des.h,v 1.3 1998/02/10 06:25:33 deraadt Exp $ */ /* crypto/des/rpc_des.h */ /* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au) @@ -112,7 +112,7 @@ struct desparams { enum desdir des_dir; /* direction */ enum desmode des_mode; /* mode */ unsigned char des_ivec[8]; /* input vector */ - unsigned des_len; /* number of bytes to crypt */ + unsigned int des_len; /* number of bytes to crypt */ union { unsigned char UDES_data[DES_QUICKLEN]; unsigned char *UDES_buf;