shithub: drawterm

Download patch

ref: c8d84a805eeb664f6b29b94814ae5c39217a3767
parent: b7cd7074c00f15df5b30eee0e0a1b216839646ad
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Mar 10 15:02:21 EST 2016

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

--- a/posix-mips/getcallerpc.c	Thu Mar 10 14:03:47 2016
+++ b/posix-mips/getcallerpc.c	Thu Mar 10 15:02:21 2016
@@ -1,7 +1,7 @@
 #include "u.h"
 #include "libc.h"
 
-ulong
+uintptr
 getcallerpc(void *a)
 {
 	return ((ulong*)a)[-1];
--- a/posix-sun4u/getcallerpc.c	Thu Mar 10 14:03:47 2016
+++ b/posix-sun4u/getcallerpc.c	Thu Mar 10 15:02:21 2016
@@ -1,7 +1,7 @@
 #include "u.h"
 #include "libc.h"
 
-ulong
+uintptr
 getcallerpc(void *a)
 {
 	return ((ulong*)a)[-1];