summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2020-04-02 10:55:31 -0700
committerBrad Kittenbrink <brad@lindenlab.com>2020-04-02 10:55:31 -0700
commit68105d9f06aea69980cf0402f00da0e2be450dd2 (patch)
tree25067f48ff3904701f3ac0843ccda4187034aef8 /indra/llcommon
parent328329fceab6b18dd7dda6f7ce9a3d4788fd7c54 (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 9d00395c0a..859d2eb567 100644
--- a/indra/llcommon/llsdutil.cpp
+++ b/indra/llcommon/llsdutil.cpp
@@ -332,7 +332,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),