diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-26 17:49:38 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-26 17:49:38 +0000 |
commit | 7de0a5e4b42b78223dcc025a2016cb88f64a05e8 (patch) | |
tree | 00b957068cf78960a11ccdaf9d33e3cf22f9e5c6 /gcc/diagnostic.c | |
parent | 781e2ff3f76cd4ca0847b638d2d26cf0bfa24672 (diff) | |
download | gcc-7de0a5e4b42b78223dcc025a2016cb88f64a05e8.tar.gz |
* diagnostic.c (bt_callback): Cast pc when calling fprintf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191766 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index afe958d7623..b2ba901cfe4 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -364,7 +364,7 @@ bt_callback (void *data, uintptr_t pc, const char *filename, int lineno, } fprintf (stderr, "0x%lx %s\n\t%s:%d\n", - pc, + (unsigned long) pc, function == NULL ? "???" : function, filename == NULL ? "???" : filename, lineno); |