Clean up all the lint cpplint can find in the dynamic linker.
Change-Id: Ic9ee7153817c22a252cc4b309283e355b623cab9
diff --git a/linker/dlfcn.cpp b/linker/dlfcn.cpp
index 79072e0..6e70808 100644
--- a/linker/dlfcn.cpp
+++ b/linker/dlfcn.cpp
@@ -131,13 +131,13 @@
info->dli_fname = si->name;
// Address at which the shared object is loaded.
- info->dli_fbase = (void*) si->base;
+ info->dli_fbase = reinterpret_cast<void*>(si->base);
// Determine if any symbol in the library contains the specified address.
ElfW(Sym)* sym = dladdr_find_symbol(si, addr);
if (sym != NULL) {
info->dli_sname = si->strtab + sym->st_name;
- info->dli_saddr = (void*)(si->load_bias + sym->st_value);
+ info->dli_saddr = reinterpret_cast<void*>(si->load_bias + sym->st_value);
}
return 1;