diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llimage/llimage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llimage/llimage.cpp b/linden/indra/llimage/llimage.cpp index 88edc99..4b0076e 100644 --- a/linden/indra/llimage/llimage.cpp +++ b/linden/indra/llimage/llimage.cpp | |||
@@ -1514,7 +1514,7 @@ BOOL LLImageFormatted::load(const std::string &filename) | |||
1514 | 1514 | ||
1515 | S32 file_size = 0; | 1515 | S32 file_size = 0; |
1516 | LLAPRFile infile ; | 1516 | LLAPRFile infile ; |
1517 | infile.open(filename, LL_APR_RB, NULL, &file_size); | 1517 | infile.open(filename, LL_APR_RB, LLAPRFile::global, &file_size); |
1518 | apr_file_t* apr_file = infile.getFileHandle(); | 1518 | apr_file_t* apr_file = infile.getFileHandle(); |
1519 | if (!apr_file) | 1519 | if (!apr_file) |
1520 | { | 1520 | { |
@@ -1550,7 +1550,7 @@ BOOL LLImageFormatted::save(const std::string &filename) | |||
1550 | resetLastError(); | 1550 | resetLastError(); |
1551 | 1551 | ||
1552 | LLAPRFile outfile ; | 1552 | LLAPRFile outfile ; |
1553 | outfile.open(filename, LL_APR_WB); | 1553 | outfile.open(filename, LL_APR_WB, LLAPRFile::global); |
1554 | if (!outfile.getFileHandle()) | 1554 | if (!outfile.getFileHandle()) |
1555 | { | 1555 | { |
1556 | setLastError("Unable to open file for writing", filename); | 1556 | setLastError("Unable to open file for writing", filename); |