Fixed the type of fptrdiff_t. It needs to be 64 bits in theory, and in

practice too since kernel addresses are almost 2^64 higher than most
user addresses.
This commit is contained in:
Bruce Evans 2004-05-19 16:19:11 +00:00
parent 19b5915afa
commit 8693960479

View File

@ -148,7 +148,7 @@ typedef u_long uintfptr_t;
* An unsigned integral type that can hold non-negative difference between
* function pointers.
*/
typedef u_int fptrdiff_t;
typedef u_long fptrdiff_t;
#ifdef _KERNEL