From 0ef9f561ae742714d97c296850ff24fce14e5244 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 16 May 1996 07:22:00 +0000 Subject: [PATCH] Fix up pointer type mismatch --- common/memory.c | 2 +- memory.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/memory.c b/common/memory.c index 272f8799..3b4506cd 100644 --- a/common/memory.c +++ b/common/memory.c @@ -435,7 +435,7 @@ void abandon_lease (lease) piaddr (lease -> ip_addr)); lt.hardware_addr.htype = -1; lt.hardware_addr.hlen = 0; - lt.uid = (char *)0; + lt.uid = (unsigned char *)0; lt.uid_len = 0; supersede_lease (lease, <, 1); } diff --git a/memory.c b/memory.c index 272f8799..3b4506cd 100644 --- a/memory.c +++ b/memory.c @@ -435,7 +435,7 @@ void abandon_lease (lease) piaddr (lease -> ip_addr)); lt.hardware_addr.htype = -1; lt.hardware_addr.hlen = 0; - lt.uid = (char *)0; + lt.uid = (unsigned char *)0; lt.uid_len = 0; supersede_lease (lease, <, 1); }