summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2020-04-02 10:55:31 -0700
committerAndrey Lihatskiy <alihatskiy@productengine.com>2020-07-14 19:53:57 +0300
commitbbee0658c3a7837e47d171dacfda55cac803e3ed (patch)
tree996595000cefaa0b14ca4102a25fac278041d999 /indra/llcommon
parentff2721823fc091b3eccabba2886b90e30d9ec305 (diff)
Fixed -Wstring-plus-int related errors for compatibility with Xcode-11.4
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llsdutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llsdutil.cpp b/indra/llcommon/llsdutil.cpp
index 6a23c443a0..1f8384f415 100644
--- a/indra/llcommon/llsdutil.cpp
+++ b/indra/llcommon/llsdutil.cpp
@@ -506,7 +506,7 @@ struct Data
const char* name;
} typedata[] =
{
-#define def(type) { LLSD::type, #type + 4 }
+#define def(type) { LLSD::type, &#type[4] }
def(TypeUndefined),
def(TypeBoolean),
def(TypeInteger),