summaryrefslogtreecommitdiff
path: root/gcc/config/m68k/hp320.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k/hp320.h')
-rw-r--r--gcc/config/m68k/hp320.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/m68k/hp320.h b/gcc/config/m68k/hp320.h
index 0ce72a98f90..a63f3643831 100644
--- a/gcc/config/m68k/hp320.h
+++ b/gcc/config/m68k/hp320.h
@@ -488,7 +488,7 @@ do { \
if (GET_CODE (addr) == CONST_INT \
&& INTVAL (addr) < 0x8000 \
&& INTVAL (addr) >= -0x8000) \
- fprintf (FILE, "%d.w", INTVAL (addr)); \
+ fprintf (FILE, "%d.w", (int) INTVAL (addr)); \
else \
output_addr_const (FILE, addr); \
}}