summaryrefslogtreecommitdiff
path: root/lldb
diff options
context:
space:
mode:
authorJorge Gorbe Moya <jgorbe@google.com>2019-01-07 21:04:12 +0000
committerJorge Gorbe Moya <jgorbe@google.com>2019-01-07 21:04:12 +0000
commit2e3d0c1a455dc53fff602bf8ed2057948441b4d5 (patch)
tree174d86b805c42433a0c196e210175fbbc9947d5f /lldb
parentb44ffc3f9eb3e6dd8f2cb914f9aec84718b8fe63 (diff)
[lldb] Fix -Wstring-plus-int warning in POSIX-DYLD/AuxVector.cpp
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp
index 7dd2b57da0c..8068795df53 100644
--- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp
+++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp
@@ -100,7 +100,7 @@ const char *AuxVector::GetEntryName(EntryType type) {
#define ENTRY_NAME(_type) \
_type: \
- name = #_type + 5
+ name = &#_type[5]
switch (type) {
case ENTRY_NAME(AUXV_AT_NULL); break;
case ENTRY_NAME(AUXV_AT_IGNORE); break;