commit | f56a2f5ed2508e0743581003420c0f2d9cb54c7b | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Fri Oct 24 22:05:35 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Oct 24 22:05:36 2014 +0000 |
tree | bb8b36449c43757b28b268ff4c7905eec7aeebc4 | |
parent | 57c5a5562b08007dbe6379a4b68ca3a0225747c0 [diff] | |
parent | c9d16583972a4d329b91960148172d41ed04ab37 [diff] |
Merge "Remove unnecessary reinterpret_cast"
diff --git a/linker/linker.cpp b/linker/linker.cpp index f8963b5..f14d8b4 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp
@@ -194,7 +194,7 @@ // Copy the necessary fields into the debug structure. link_map* map = &(info->link_map_head); map->l_addr = info->load_bias; - map->l_name = reinterpret_cast<char*>(info->name); + map->l_name = info->name; map->l_ld = info->dynamic; // Stick the new library at the end of the list.