From 86939604792d4259e774a0046b95c74162a819a9 Mon Sep 17 00:00:00 2001 From: Bruce Evans 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