aboutsummaryrefslogtreecommitdiff
path: root/contrib/isc-dhcp/omapip/convert.c
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2002-09-30 08:39:27 +0000
committerMurray Stokely <murray@FreeBSD.org>2002-09-30 08:39:27 +0000
commitc36726bfe141f1a7628d282c436933ecc6ebc432 (patch)
tree359b47391748afceb1567d1ce2a0fca3fb6dc676 /contrib/isc-dhcp/omapip/convert.c
parent33075c330b0eaa2f7c5b223aeb32a262a3b78c9d (diff)
downloadsrc-c36726bfe141f1a7628d282c436933ecc6ebc432.tar.gz
src-c36726bfe141f1a7628d282c436933ecc6ebc432.zip
Import ISC DHCP 3.0.1 RC9 client.
Notes
Notes: svn path=/vendor/isc-dhcp/dist/; revision=104185
Diffstat (limited to 'contrib/isc-dhcp/omapip/convert.c')
-rw-r--r--contrib/isc-dhcp/omapip/convert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/isc-dhcp/omapip/convert.c b/contrib/isc-dhcp/omapip/convert.c
index 83d5fc3b292a..b313959d08ad 100644
--- a/contrib/isc-dhcp/omapip/convert.c
+++ b/contrib/isc-dhcp/omapip/convert.c
@@ -44,7 +44,7 @@
#ifndef lint
static char copyright[] =
-"$Id: convert.c,v 1.1 2000/08/01 22:34:36 neild Exp $ Copyright (c) 1996-1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: convert.c,v 1.1.2.1 2002/04/27 05:35:20 murray Exp $ Copyright (c) 1996-1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include <omapip/omapip_p.h>
@@ -52,7 +52,7 @@ static char copyright[] =
u_int32_t getULong (buf)
const unsigned char *buf;
{
- unsigned long ibuf;
+ u_int32_t ibuf;
memcpy (&ibuf, buf, sizeof (u_int32_t));
return ntohl (ibuf);
@@ -61,7 +61,7 @@ u_int32_t getULong (buf)
int32_t getLong (buf)
const unsigned char *buf;
{
- long ibuf;
+ int32_t ibuf;
memcpy (&ibuf, buf, sizeof (int32_t));
return ntohl (ibuf);