From be768764da1d66ac83a5ee9c5a0a24abfaf2bfc1 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 4 May 2007 01:48:02 +0000 Subject: [PATCH] uintptr for getcallerpc --- posix-amd64/getcallerpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posix-amd64/getcallerpc.c b/posix-amd64/getcallerpc.c index 553c750..3614c59 100644 --- a/posix-amd64/getcallerpc.c +++ b/posix-amd64/getcallerpc.c @@ -1,8 +1,8 @@ #include "u.h" #include "libc.h" -ulong +uintptr getcallerpc(void *a) { - return ((ulong*)a)[-1]; + return ((uintptr*)a)[-1]; }