From c26373a85e0b37c95cc9649c1fa5edb43a429e72 Mon Sep 17 00:00:00 2001 From: Wei Guangjing Date: Mon, 25 Jul 2011 13:39:01 -0400 Subject: build: fixes for mingw-w64 R=rsc CC=golang-dev http://codereview.appspot.com/4742042 Committer: Russ Cox --- src/lib9/fmt/dofmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib9') diff --git a/src/lib9/fmt/dofmt.c b/src/lib9/fmt/dofmt.c index 51f0f079b..cc6ab9225 100644 --- a/src/lib9/fmt/dofmt.c +++ b/src/lib9/fmt/dofmt.c @@ -369,7 +369,7 @@ __ifmt(Fmt *f) } #endif if(f->r == 'p'){ - u = (ulong)va_arg(f->args, void*); + u = (uintptr)va_arg(f->args, void*); f->r = 'x'; fl |= FmtUnsigned; }else if(fl & FmtVLong){ -- cgit v1.2.1