From 74eda121a8933438065df8444ea5b3cdb53ad6f0 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Wed, 4 Jun 2003 17:33:51 +0000 Subject: alpha.c (print_operand_address): Fix format specifier warnings. * alpha.c (print_operand_address): Fix format specifier warnings. * alpha/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. * arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. * arm/pe.h (ASM_OUTPUT_COMMON): Likewise. * avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Likewise. * c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON): Likewise. * i370.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * i386/cygming.h (ASM_OUTPUT_COMMON): Likewise. * i386/darwin.h (ASM_OUTPUT_COMMON): Likewise. * i960.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * m68k/hp320.h (PRINT_OPERAND_ADDRESS): Likewise. * mcore.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. * pdp11.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * ptx4.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. * sparc/freebsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * svr3.h (ASM_OUTPUT_COMMON): Likewise. From-SVN: r67453 --- gcc/config/c4x/c4x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/c4x/c4x.h') diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h index 7c5435cedf8..70c2afcdbc8 100644 --- a/gcc/config/c4x/c4x.h +++ b/gcc/config/c4x/c4x.h @@ -1615,7 +1615,7 @@ c4x_file_end (FILE) This is suitable for output with `assemble_name'. */ #define ASM_GENERATE_INTERNAL_LABEL(BUFFER, PREFIX, NUM) \ - sprintf (BUFFER, "*%s%d", PREFIX, NUM) + sprintf (BUFFER, "*%s%lu", PREFIX, (unsigned long)(NUM)) /* A C statement to output to the stdio stream STREAM assembler code which defines (equates) the symbol NAME to have the value VALUE. */ -- cgit v1.2.1