diff options
author | Andrew A. de Laix <alain@lindenlab.com> | 2011-01-24 16:00:52 -0800 |
---|---|---|
committer | Andrew A. de Laix <alain@lindenlab.com> | 2011-01-24 16:00:52 -0800 |
commit | 93138ec2cbd5a9707a7ade1acc6ef35fbc50b422 (patch) | |
tree | 44970a4a1a82a2748e6d3cee89e5c71606b48579 /indra/llui | |
parent | 1ba64d9b14d9247021a76d3cf983107812e9eb14 (diff) |
hack to work around gcc 4.2 compiler warning; really we should not store static strings in char * pointers (they should all be changed to const char *).
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/tests/llurlentry_stub.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/tests/llurlentry_stub.cpp b/indra/llui/tests/llurlentry_stub.cpp index 96ebe83826..966bea329c 100644 --- a/indra/llui/tests/llurlentry_stub.cpp +++ b/indra/llui/tests/llurlentry_stub.cpp @@ -193,8 +193,8 @@ LLFontGL* LLFontGL::getFontDefault() return NULL; } -char* _PREHASH_AgentData = "AgentData"; -char* _PREHASH_AgentID = "AgentID"; +char* _PREHASH_AgentData = (char *)"AgentData"; +char* _PREHASH_AgentID = (char *)"AgentID"; LLHost LLHost::invalid(INVALID_PORT,INVALID_HOST_IP_ADDRESS); |