From a128646d2fa6c7982284a7754243e1d5f2fb6c21 Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 19 May 2004 16:19:11 +0000 Subject: [PATCH] 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. --- sys/amd64/include/profile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h index 54c27a422280..0cf12de08574 100644 --- a/sys/amd64/include/profile.h +++ b/sys/amd64/include/profile.h @@ -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