summaryrefslogtreecommitdiffstats
path: root/gcc/config/dsp16xx/dsp16xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/dsp16xx/dsp16xx.h')
-rw-r--r--gcc/config/dsp16xx/dsp16xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h
index 454ea7dbea3..5f2a63a3c89 100644
--- a/gcc/config/dsp16xx/dsp16xx.h
+++ b/gcc/config/dsp16xx/dsp16xx.h
@@ -1615,7 +1615,7 @@ extern struct dsp16xx_frame_info current_frame_info;
PREFIX is the class of label and NUM is the number within the class.
This is suitable for output with `assemble_name'. */
#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \
- sprintf (LABEL, "*%s%d", PREFIX, NUM)
+ sprintf (LABEL, "*%s%lu", PREFIX, (unsigned long)(NUM))
/* OUTPUT OF ASSEMBLER INSTRUCTIONS */
OpenPOWER on IntegriCloud