windows fixes

This commit is contained in:
Russ Cox 2007-12-31 17:23:36 +00:00
parent f7c895607e
commit 972518cb05
2 changed files with 2 additions and 1 deletions

View File

@ -18,3 +18,4 @@
typedef __int64 p9_vlong;
typedef unsigned __int64 p9_uvlong;
typedef unsigned uintptr;

View File

@ -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);