diff options
| author | Keith Randall <khr@golang.org> | 2014-07-30 20:24:03 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-07-30 20:24:03 -0700 |
| commit | 5a008acec1a189f6942e9c90f687d89b2819eafa (patch) | |
| tree | 4f2f84e59dfc0804639d16c0603af67ee7311211 /src/pkg/runtime | |
| parent | 58241bfdf7be488f8d55b604146bbb788104f6ae (diff) | |
| download | go-5a008acec1a189f6942e9c90f687d89b2819eafa.tar.xz | |
runtime: cast to uintptr to match %p formatter.
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/121920043
Diffstat (limited to 'src/pkg/runtime')
| -rw-r--r-- | src/pkg/runtime/os_windows_386.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
