This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] make printf spec match cast


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)
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]