summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/profile.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-05-19 16:19:11 +0000
committerbde <bde@FreeBSD.org>2004-05-19 16:19:11 +0000
commita128646d2fa6c7982284a7754243e1d5f2fb6c21 (patch)
tree453b34a0fabbcca119de8526a78f239787629b74 /sys/amd64/include/profile.h
parent1808931bc7bd5f6dc7838f64403f8f36b66f3c02 (diff)
downloadFreeBSD-src-a128646d2fa6c7982284a7754243e1d5f2fb6c21.zip
FreeBSD-src-a128646d2fa6c7982284a7754243e1d5f2fb6c21.tar.gz
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.
Diffstat (limited to 'sys/amd64/include/profile.h')
-rw-r--r--sys/amd64/include/profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h
index 54c27a4..0cf12de 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
OpenPOWER on IntegriCloud