diff options
Diffstat (limited to 'src/ldso')
-rw-r--r-- | src/ldso/dynlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 4ce1c3e8..6956f414 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -1091,7 +1091,7 @@ end: return p; } -static int invalid_dso_handle(struct dso *h) +static int invalid_dso_handle(void *h) { struct dso *p; for (p=head; p; p=p->next) if (h==p) return 0; @@ -1246,7 +1246,7 @@ int dl_iterate_phdr(int(*callback)(struct dl_phdr_info *info, size_t size, void return ret; } #else -static int invalid_dso_handle(struct dso *h) +static int invalid_dso_handle(void *h) { snprintf(errbuf, sizeof errbuf, "Invalid library handle %p", (void *)h); errflag = 1; |