summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llcommon/tests/llsdserialize_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp
index 4e09a4fe3c..687c64dfeb 100644
--- a/indra/llcommon/tests/llsdserialize_test.cpp
+++ b/indra/llcommon/tests/llsdserialize_test.cpp
@@ -65,7 +65,7 @@ std::vector<U8> string_to_vector(const std::string& str)
boost::filesystem::path temp_directory_path()
{
#if LL_WINDOWS
- char buffer[PATH_MAX];
+ char buffer[4096];
GetTempPath(sizeof(buffer), buffer);
return boost::filesystem::path(buffer);