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 a042ebf..7024d8e 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 0a81a5d..61e59f9 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