shithub: drawterm

Download patch

ref: 972518cb05abadad60bd61a454f743ca72042c47
parent: f7c895607e99fac2f72ae283a7f6e1e52c142a69
author: Russ Cox <rsc@swtch.com>
date: Mon Dec 31 12:23:36 EST 2007

windows fixes

--- a/include/9windows.h
+++ b/include/9windows.h
@@ -18,3 +18,4 @@
 
 typedef __int64		p9_vlong;
 typedef	unsigned __int64 p9_uvlong;
+typedef unsigned uintptr;
--- a/kern/win32.c
+++ b/kern/win32.c
@@ -448,7 +448,7 @@
 long
 showfilewrite(char *a, int n)
 {
-	Rune *action, *arg, *cmd;
+	Rune *action, *arg, *cmd, *p;
 	static Rune Lopen[] = { 'o', 'p', 'e', 'n', 0 };
 
 	cmd = runesmprint("%.*s", n, a);