This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] make printf spec match cast
- To: gcc-patches at gcc dot gnu dot org
- Subject: [PATCH] make printf spec match cast
- From: "David O'Brien" <obrien at NUXI dot com>
- Date: Tue, 13 Jun 2000 12:35:32 -0700
- Organization: The NUXI BSD group
- Reply-To: obrien at NUXI dot com
2000-06-13 David O'Brien <obrien@FreeBSD.org>
* config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
specification match cast.
Index: elfos.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/elfos.h,v
retrieving revision 1.17
diff -u -r1.17 elfos.h
--- elfos.h 2000/05/19 10:44:55 1.17
+++ elfos.h 2000/06/13 19:32:13
@@ -161,7 +160,7 @@
#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \
do \
{ \
- sprintf (LABEL, "*.%s%d", PREFIX, (unsigned) (NUM)); \
+ sprintf (LABEL, "*.%s%u", PREFIX, (unsigned) (NUM)); \
} \
while (0)