mirror of
https://github.com/golang/go
synced 2024-11-19 06:04:39 -07:00
runtime: cast to uintptr to match %p formatter.
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/121920043
This commit is contained in:
parent
58241bfdf7
commit
5a008acec1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user