code: 9ferno

Download patch

ref: 876f68cfab0905e1ab21be625fabd3c49a819075
parent: 0cb3dc37ca3d619e5f2017a592bc793094b9f7e4
author: joe9 <joe9mail@gmail.com>
date: Wed Aug 4 07:05:39 EDT 2021

setting mallocz to ulong for compatiblity with emu implementation

--- a/include/kern.h
+++ b/include/kern.h
@@ -89,7 +89,7 @@
  * malloc
  */
 extern	void*	malloc(ulong);
-extern	void*	mallocz(uintptr, int);
+extern	void*	mallocz(ulong, int);
 extern	void	free(void*);
 extern	uintptr	msize(void*);
 extern	void*	calloc(ulong, ulong);