mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add a cast to silence a warning.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2012-08-17 Roland McGrath <roland@hack.frob.com>
|
2012-08-17 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
|
||||||
|
last change.
|
||||||
|
|
||||||
* libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
|
* libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
|
||||||
[_IO_MTSAFE_IO].
|
[_IO_MTSAFE_IO].
|
||||||
* libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
|
* libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
|
||||||
|
@ -641,7 +641,11 @@ _dl_close_worker (struct link_map *map)
|
|||||||
#ifdef SHARED
|
#ifdef SHARED
|
||||||
assert (nsid != LM_ID_BASE);
|
assert (nsid != LM_ID_BASE);
|
||||||
#endif
|
#endif
|
||||||
r->r_map = ns->_ns_loaded = imap->l_next;
|
ns->_ns_loaded = imap->l_next;
|
||||||
|
|
||||||
|
/* Update the pointer to the head of the list
|
||||||
|
we leave for debuggers to examine. */
|
||||||
|
r->r_map = (void *) ns->_ns_loaded;
|
||||||
}
|
}
|
||||||
|
|
||||||
--ns->_ns_nloaded;
|
--ns->_ns_nloaded;
|
||||||
|
Reference in New Issue
Block a user