summaryrefslogtreecommitdiff
path: root/gcc/config/m68k/next21.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k/next21.h')
-rw-r--r--gcc/config/m68k/next21.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/m68k/next21.h b/gcc/config/m68k/next21.h
index 960bcf351e9..5040aa6a92f 100644
--- a/gcc/config/m68k/next21.h
+++ b/gcc/config/m68k/next21.h
@@ -69,7 +69,7 @@ Boston, MA 02111-1307, USA. */
long l; \
REAL_VALUE_TO_TARGET_SINGLE (VALUE, l); \
if (sizeof (int) == sizeof (long)) \
- asm_fprintf ((FILE), "%I0x%x", l); \
+ asm_fprintf ((FILE), "%I0x%x", (int) l); \
else \
asm_fprintf ((FILE), "%I0x%lx", l); \
} \