Blame SOURCES/glibc-rh1505492-types-13.patch

c6d234
commit d22ce01becae90db0c65c82fd2e1aa7898df7ce6
c6d234
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
c6d234
Date:   Wed Dec 17 16:43:34 2014 +0100
c6d234
c6d234
    Get rid of format warning in bug-vfprintf-nargs.c.
c6d234
c6d234
diff --git a/stdio-common/bug-vfprintf-nargs.c b/stdio-common/bug-vfprintf-nargs.c
c6d234
index 4f621064cc0ca5c7..e8651823e6096c0e 100644
c6d234
--- a/stdio-common/bug-vfprintf-nargs.c
c6d234
+++ b/stdio-common/bug-vfprintf-nargs.c
c6d234
@@ -65,7 +65,8 @@ do_test (void)
c6d234
      test this on 32-bit systems.  */
c6d234
   if (sizeof (long int) == 4)
c6d234
     {
c6d234
-      sprintf (buf, "%%1$d %%%" PRIdPTR "$d", UINT32_MAX / sizeof (int));
c6d234
+      sprintf (buf, "%%1$d %%%" PRIdPTR "$d",
c6d234
+	       (intptr_t) (UINT32_MAX / sizeof (int)));
c6d234
       if (format_failed (buf, "1 %$d") != 0)
c6d234
         rc = 1;
c6d234
     }