Change type of constant to avoid a warning.

Warning has been introduced in commit 7583a88d1c.
This commit is contained in:
Thomas Schwinge 2012-11-01 17:50:30 +01:00
parent 473611b22d
commit 341dd67392
2 changed files with 6 additions and 1 deletions

View File

@ -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]

View 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