code: drawterm

Download patch

ref: be768764da1d66ac83a5ee9c5a0a24abfaf2bfc1
parent: 602ec6770c59e95c66afca5d36c9c1ff2570c2b9
author: Russ Cox <rsc@swtch.com>
date: Thu May 3 21:48:02 EDT 2007

uintptr for getcallerpc

--- 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];
 }