shithub: drawterm-fdroid

Download patch

ref: c8d84a805eeb664f6b29b94814ae5c39217a3767
parent: b7cd7074c00f15df5b30eee0e0a1b216839646ad
author: cinap_lenrek <[email protected]>
date: Thu Mar 10 16:02:21 EST 2016

fix sparc and mips getcallerpc() return type ulong -> uintptr

--- a/posix-mips/getcallerpc.c
+++ b/posix-mips/getcallerpc.c
@@ -1,7 +1,7 @@
 #include "u.h"
 #include "libc.h"
 
-ulong
+uintptr
 getcallerpc(void *a)
 {
 	return ((ulong*)a)[-1];
--- a/posix-sun4u/getcallerpc.c
+++ b/posix-sun4u/getcallerpc.c
@@ -1,7 +1,7 @@
 #include "u.h"
 #include "libc.h"
 
-ulong
+uintptr
 getcallerpc(void *a)
 {
 	return ((ulong*)a)[-1];