elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf specification match cast.
authorDavid O'Brien <obrien@FreeBSD.org>
Wed, 14 Jun 2000 16:08:28 +0000 (16:08 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 14 Jun 2000 16:08:28 +0000 (10:08 -0600)
        * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
        specification match cast.

From-SVN: r34548

gcc/ChangeLog
gcc/config/elfos.h

index 6b33bd0..a2b53d7 100644 (file)
@@ -1,3 +1,8 @@
+2000-06-14  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
+       specification match cast.
+
 Wed Jun 14 09:25:57 2000  Jeffrey A Law  (law@cygnus.com)
 
        * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
index dfcbb92..7962a34 100644 (file)
@@ -161,7 +161,7 @@ Boston, MA 02111-1307, USA.  */
 #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)