summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llmodelloader.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-05-05 17:38:01 +0300
committerandreykproductengine <akleshchev@productengine.com>2015-05-05 17:38:01 +0300
commit0faa19e03d27c9acc8b4612d4ee14a343e9240c7 (patch)
tree5698ec1990efbf83aa67de08de9c370cb25e0369 /indra/llprimitive/llmodelloader.cpp
parent5f397bdd1831b1be593982ca8fc88dbe1a0cad07 (diff)
Linux build fix
Diffstat (limited to 'indra/llprimitive/llmodelloader.cpp')
-rw-r--r--indra/llprimitive/llmodelloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llmodelloader.cpp b/indra/llprimitive/llmodelloader.cpp
index 91198507c6..81d92d151b 100644
--- a/indra/llprimitive/llmodelloader.cpp
+++ b/indra/llprimitive/llmodelloader.cpp
@@ -307,7 +307,7 @@ bool LLModelLoader::loadFromSLM(const std::string& filename)
S32 file_size = (S32) stat.st_size;
- llifstream ifstream(filename, std::ifstream::in | std::ifstream::binary);
+ llifstream ifstream(filename.c_str(), std::ifstream::in | std::ifstream::binary);
LLSD data;
LLSDSerialize::fromBinary(data, ifstream, file_size);
ifstream.close();