compile warning in recent import dhcp-client

csj junsu at
Mon Aug 16 05:57:39 PDT 2004

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));
        icmp.icmp_id = (u_int32_t)addr;   <=== this line generates the 

Should we define this constant in the Makefile?

Jun Su 

More information about the freebsd-current mailing list