mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
Change type of constant to avoid a warning.
Warning has been introduced in commit 7583a88d1c
.
This commit is contained in:
parent
473611b22d
commit
341dd67392
@ -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]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user