summaryrefslogtreecommitdiff
path: root/gcc/config/ia64
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-17 09:39:37 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-17 09:39:37 +0000
commit5d164d47caa671179f45c794300155c3c3b90629 (patch)
tree0b74e8106ca0621d4532224e1901e5725d37609a /gcc/config/ia64
parenteee940f8bc00558df62fe1d21004d5fb3a28ef94 (diff)
downloadgcc-5d164d47caa671179f45c794300155c3c3b90629.tar.gz
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Add cast.
* config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240214 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r--gcc/config/ia64/ia64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index 00516bb9838..ac0cb864209 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -1587,7 +1587,8 @@ do { \
fputs ("@secrel(", FILE); \
assemble_name (FILE, LABEL); \
if ((OFFSET) != 0) \
- fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, OFFSET); \
+ fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, \
+ (HOST_WIDE_INT) (OFFSET)); \
fputc (')', FILE); \
} while (0)