From 972518cb05abadad60bd61a454f743ca72042c47 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 31 Dec 2007 17:23:36 +0000 Subject: [PATCH] windows fixes --- include/9windows.h | 1 + kern/win32.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/9windows.h b/include/9windows.h index 153e30f..e779475 100644 --- a/include/9windows.h +++ b/include/9windows.h @@ -18,3 +18,4 @@ typedef __int64 p9_vlong; typedef unsigned __int64 p9_uvlong; +typedef unsigned uintptr; diff --git a/kern/win32.c b/kern/win32.c index fa79c1d..d18c790 100644 --- a/kern/win32.c +++ b/kern/win32.c @@ -448,7 +448,7 @@ oserrstr(void) 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);