OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4a9c0c
)
- nlist is unsigned. Adjust iterator variables accordingly to avoid signedness warnings.
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 30 May 2008 14:24:54 +0000
(14:24 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 30 May 2008 14:24:54 +0000
(14:24 -0000)
ldso/ldso/ldso.c
patch
|
blob
|
history
diff --git
a/ldso/ldso/ldso.c
b/ldso/ldso/ldso.c
index
10af7cb
..
737ecb3
100644
(file)
--- a/
ldso/ldso/ldso.c
+++ b/
ldso/ldso/ldso.c
@@
-111,7
+111,7
@@
uintptr_t __guard attribute_relro;
static void __attribute__ ((destructor)) __attribute_used__ _dl_fini(void)
{
- int i;
+
unsigned
int i;
struct elf_resolve * tpnt;
for (i = 0; i < nlist; ++i) {
@@
-643,7
+643,7
@@
void _dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr,
/* Sort the INIT/FINI list in dependency order. */
for (tcurr = _dl_loaded_modules->next; tcurr; tcurr = tcurr->next) {
- int j, k;
+
unsigned
int j, k;
for (j = 0; init_fini_list[j] != tcurr; ++j)
/* Empty */;