summaryrefslogtreecommitdiff
path: root/gcc/config/i386/gas.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/gas.h')
-rw-r--r--gcc/config/i386/gas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/gas.h b/gcc/config/i386/gas.h
index 19b28596579..4c392966244 100644
--- a/gcc/config/i386/gas.h
+++ b/gcc/config/i386/gas.h
@@ -150,7 +150,7 @@ Boston, MA 02111-1307, USA. */
#undef ASM_GENERATE_INTERNAL_LABEL
#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
- sprintf ((BUF), ".%s%d", (PREFIX), (NUMBER))
+ sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
/* This is how to output an internal numbered label where
PREFIX is the class of label and NUM is the number within the class. */