aboutsummaryrefslogtreecommitdiff
path: root/gcc/godump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/godump.c')
-rw-r--r--gcc/godump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/godump.c b/gcc/godump.c
index 28d81a1..9a9d70f 100644
--- a/gcc/godump.c
+++ b/gcc/godump.c
@@ -1159,7 +1159,7 @@ go_output_typedef (struct godump_container *container, tree decl)
snprintf (buf, sizeof buf, HOST_WIDE_INT_PRINT_UNSIGNED,
tree_to_uhwi (TREE_VALUE (element)));
else
- print_hex (element, buf);
+ print_hex (wi::to_wide (element), buf);
mhval->value = xstrdup (buf);
*slot = mhval;