summaryrefslogtreecommitdiff
path: root/gcc/config/i386/sco5.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/sco5.h')
-rw-r--r--gcc/config/i386/sco5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h
index 5dd90e39c4b..000207c8df5 100644
--- a/gcc/config/i386/sco5.h
+++ b/gcc/config/i386/sco5.h
@@ -232,9 +232,9 @@ do { \
#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \
do { \
if (TARGET_ELF) \
- sprintf (LABEL, "*.%s%d", (PREFIX), (NUM)); \
+ sprintf (LABEL, "*.%s%ld", (PREFIX), (long)(NUM)); \
else \
- sprintf (LABEL, ".%s%d", (PREFIX), (NUM)); \
+ sprintf (LABEL, ".%s%ld", (PREFIX), (long)(NUM)); \
} while (0)
#undef ASM_OUTPUT_ALIGNED_COMMON