aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/avr
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-06-04 17:33:51 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-06-04 17:33:51 +0000
commit74eda121a8933438065df8444ea5b3cdb53ad6f0 (patch)
tree3e46cc5c5f8807b11792938088c11bb162404dbb /gcc/config/avr
parente3091a5f95cfd2130771ebf7cc8535c573d50875 (diff)
downloadgcc-74eda121a8933438065df8444ea5b3cdb53ad6f0.zip
gcc-74eda121a8933438065df8444ea5b3cdb53ad6f0.tar.gz
gcc-74eda121a8933438065df8444ea5b3cdb53ad6f0.tar.bz2
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
Diffstat (limited to 'gcc/config/avr')
-rw-r--r--gcc/config/avr/avr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index 7a8decb..0d82c13 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -1771,7 +1771,7 @@ progmem_section () \
do { \
fputs ("\t.comm ", (STREAM)); \
assemble_name ((STREAM), (NAME)); \
- fprintf ((STREAM), ",%d,1\n", (SIZE)); \
+ fprintf ((STREAM), ",%lu,1\n", (unsigned long)(SIZE)); \
} while (0)
/* A C statement (sans semicolon) to output to the stdio stream
STREAM the assembler definition of a common-label named NAME whose
@@ -2000,7 +2000,7 @@ do { \
be emitted as one-only. */
#define ASM_GENERATE_INTERNAL_LABEL(STRING, PREFIX, NUM) \
-sprintf (STRING, "*.%s%d", PREFIX, NUM)
+sprintf (STRING, "*.%s%lu", PREFIX, (unsigned long)(NUM))
/* A C statement to store into the string STRING a label whose name
is made from the string PREFIX and the number NUM.
@@ -2193,7 +2193,7 @@ sprintf (STRING, "*.%s%d", PREFIX, NUM)
of the jump-table. */
#define ASM_OUTPUT_SKIP(STREAM, N) \
-fprintf (STREAM, "\t.skip %d,0\n", (int)N)
+fprintf (STREAM, "\t.skip %lu,0\n", (unsigned long)(N))
/* A C statement to output to the stdio stream STREAM an assembler
instruction to advance the location counter by NBYTES bytes.
Those bytes should be zero when loaded. NBYTES will be a C