From: Keith Randall Date: Thu, 31 Jul 2014 03:24:03 +0000 (-0700) Subject: runtime: cast to uintptr to match %p formatter. X-Git-Tag: go1.4beta1~979 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5a008acec1a189f6942e9c90f687d89b2819eafa;p=gostls13.git runtime: cast to uintptr to match %p formatter. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/121920043 --- diff --git a/src/pkg/runtime/os_windows_386.c b/src/pkg/runtime/os_windows_386.c index 7ee7dedc1f..02bc81adbf 100644 --- a/src/pkg/runtime/os_windows_386.c +++ b/src/pkg/runtime/os_windows_386.c @@ -97,7 +97,7 @@ runtime·sighandler(ExceptionRecord *info, Context *r, G *gp) runtime·panicking = 1; runtime·printf("Exception %x %p %p %p\n", info->ExceptionCode, - info->ExceptionInformation[0], info->ExceptionInformation[1], r->Eip); + (uintptr)info->ExceptionInformation[0], (uintptr)info->ExceptionInformation[1], (uintptr)r->Eip); runtime·printf("PC=%x\n", r->Eip); if(g->m->lockedg != nil && g->m->ncgo > 0 && gp == g->m->g0) {