summaryrefslogtreecommitdiff
path: root/indra/llcommon/llsdutil.cpp
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2020-04-02 10:55:31 -0700
committereuclid <euclid@Euclid-MBP-2019.local>2020-04-17 10:31:01 -0600
commit11e9fbefeb11f4ed90e22e7f0a0558442317875e (patch)
treec19c8966d5f5fc5cb5f1b7f891abaf4233f50fd4 /indra/llcommon/llsdutil.cpp
parent794778eede8e9081374d1021c465ba5e472d2e58 (diff)
Fixed -Wstring-plus-int related errors for compatibility with Xcode-11.4
Diffstat (limited to 'indra/llcommon/llsdutil.cpp')
-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),