shithub: drawterm

Download patch

ref: 0ff7b38794bb308ff745847de05388718131d367
parent: d6ca0cfb326c9ac13c1796de917cc0547d421626
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Feb 19 03:54:43 EST 2016

fix setrealloctag() declaration for kern

--- a/kern/fns.h
+++ b/kern/fns.h
@@ -113,8 +113,8 @@
 void		freepte(Segment*, Pte*);
 void		freesegs(int);
 void		freesession(Session*);
-ulong		getmalloctag(void*);
-ulong		getrealloctag(void*);
+uintptr		getmalloctag(void*);
+uintptr		getrealloctag(void*);
 void		gotolabel(Label*);
 char*		getconfenv(void);
 int		haswaitq(void*);
@@ -306,7 +306,7 @@
 void		setkernur(Ureg*, Proc*);
 int		setlabel(Label*);
 void		setmalloctag(void*, uintptr);
-void		setrealloctag(void*, ulong);
+void		setrealloctag(void*, uintptr);
 void		setregisters(Ureg*, char*, char*, int);
 void		setswapchan(Chan*);
 long		showfilewrite(char*, int);