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:
parent
1808931bc7
commit
a128646d2f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user