]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Change type of constant to avoid a warning.
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 1 Nov 2012 16:50:30 +0000 (17:50 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 1 Nov 2012 16:56:48 +0000 (17:56 +0100)
Warning has been introduced in commit 7583a88d1c7170caad26966bcea8bfc2c92093ba.

ChangeLog
libio/genops.c

index a042ebf18b28794fd06fc05066b3638c4c5b3bc2..7024d8ea06d8f4c8c56b6862ecd7cbfa8e227db5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
+       __libc_cleanup_region_start argument.
+
 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #14784]
index 0a81a5d101c6bf9c3f2938d037afcff3a65f7c1a..61e59f95a1e103c16218ae821da3162b17f83f9f 100644 (file)
@@ -822,7 +822,7 @@ _IO_flush_all_lockp (int do_lock)
   int last_stamp;
 
 #ifdef _IO_MTSAFE_IO
-  __libc_cleanup_region_start (do_lock, flush_cleanup, 0);
+  __libc_cleanup_region_start (do_lock, flush_cleanup, NULL);
   if (do_lock)
     _IO_lock_lock (list_all_lock);
 #endif