shithub: mc

Download patch

ref: 6605f374c8ae0500c1881051927cd4e72f11a553
parent: 76fe8d4412f3854075000a0718e30abdfd7a9087
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Nov 26 16:26:33 EST 2018

Add missing const to sys pkg.

--- a/lib/sys/sys+plan9-x64.myr
+++ b/lib/sys/sys+plan9-x64.myr
@@ -25,6 +25,7 @@
 		what	: uint32	/* plink */
 	;;
 
+	const Npriv	: size = 16	/* must be kept in sync with _myrrt+plan9.s */
 	const Maxerr	: size = 128
 
 	const Oread	: fdopt = 0
--- a/lib/thread/types+plan9.myr
+++ b/lib/thread/types+plan9.myr
@@ -1,6 +1,6 @@
 use sys
 
 pkg thread =
-	type tid        = uint32
+	type tid        = uint64
 	type tlskey(@a) = uint32
 ;;