shithub: mc

Download patch

ref: c08505fb46fd8cdfee6b6f425709e5bc536f6a75
parent: 9bd7deeee3fa7b5c36fca2bb45349fe38847f8ab
author: Ori Bernstein <ori@eigenstate.org>
date: Sat May 7 20:35:12 EDT 2016

Fix FreeBSD and Linux builds.

--- a/parse/node.c
+++ b/parse/node.c
@@ -26,7 +26,7 @@
  * Bah, this is going to need to know how to fold things.
  * FIXME: teach it.
  */
-uint64_t arraysz(Node *sz)
+uvlong arraysz(Node *sz)
 {
 	Node *n;
 
@@ -270,7 +270,7 @@
 	return n;
 }
 
-Node *mkint(Srcloc loc, uint64_t val)
+Node *mkint(Srcloc loc, uvlong val)
 {
 	Node *n;