aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r--gcc/dwarf2asm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c
index 11903fe..552bf17 100644
--- a/gcc/dwarf2asm.c
+++ b/gcc/dwarf2asm.c
@@ -52,7 +52,8 @@ dw2_assemble_integer (int size, rtx x)
{
fputs (op, asm_out_file);
if (GET_CODE (x) == CONST_INT)
- fprintf (asm_out_file, HOST_WIDE_INT_PRINT_HEX, INTVAL (x));
+ fprintf (asm_out_file, HOST_WIDE_INT_PRINT_HEX,
+ (unsigned HOST_WIDE_INT) INTVAL (x));
else
output_addr_const (asm_out_file, x);
}