Subject: re: new sysctl(KERN_PROC, ...) interface (was: sysinfo(2))
To: Eduardo Horvath <eeh@turbolinux.com>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 04/18/2000 11:53:41
> #define PTRTOINT64(foo) ((u_int64_t)(long)(foo))
That's not.
right. one should always use unsigned long in these case. adding
a (u_long) fixes *many* warnings :-)