compile warning in recent import dhcp-client

From: csj <junsu_at_delphij.net>
Date: Mon, 16 Aug 2004 20:57:37 +0800
We didn't define PTRSIZE_64BIT in the 64bit platform. When I compile it in 
Alpha, I got a warning.
In common/icmp.c, around line 174:
#ifdef PTRSIZE_64BIT
        icmp.icmp_id = (((u_int32_t)(u_int64_t)addr) ^
                        (u_int32_t)(((u_int64_t)addr) >> 32));
#else
        icmp.icmp_id = (u_int32_t)addr;   <=== this line generates the 
warning.
#endif

Should we define this constant in the Makefile?

Jun Su 
Received on Mon Aug 16 2004 - 10:57:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC