diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-06 18:28:21 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-06 18:28:21 +0000 |
commit | c19ea58f4c22885970a0bfbed4086d53df4418da (patch) | |
tree | 89ff7fdde0dc578287fb6c80a46652eaf78f3ddf /libgo/runtime/proc.c | |
parent | 0b6b034c45b5e378d9fcc2459b2d6872c7e5ef00 (diff) | |
download | gcc-c19ea58f4c22885970a0bfbed4086d53df4418da.tar.gz |
compiler, libgo: Fixes to prepare for 64-bit int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193254 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime/proc.c')
-rw-r--r-- | libgo/runtime/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 43071e581cc..b6254a7e53f 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -610,11 +610,11 @@ runtime_goroutinetrailer(G *g) if(g != nil && g->gopc != 0 && g->goid != 1) { String fn; String file; - int line; + intgo line; if(__go_file_line(g->gopc - 1, &fn, &file, &line)) { runtime_printf("created by %S\n", fn); - runtime_printf("\t%S:%d\n", file, line); + runtime_printf("\t%S:%D\n", file, (int64) line); } } } |