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); }