diff options
author | pavelkproductengine <pavelkproductengine@lindenlab.com> | 2017-05-31 19:28:46 +0300 |
---|---|---|
committer | pavelkproductengine <pavelkproductengine@lindenlab.com> | 2017-05-31 19:28:46 +0300 |
commit | 5205be0c65bf8dee8b51c112083a4cc8a7cebc49 (patch) | |
tree | d0592cb64251b1686b748f9c0a1dd5f638d48783 /indra/llimage/llpngwrapper.h | |
parent | 5e905cf80d472c433875452a2baaa179ceb0fe71 (diff) |
STORM-2148 Crash on trying to save texture file(s) to computer from inventory
Diffstat (limited to 'indra/llimage/llpngwrapper.h')
-rw-r--r-- | indra/llimage/llpngwrapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimage/llpngwrapper.h b/indra/llimage/llpngwrapper.h index 27d7df3bef..8d42317b0f 100644 --- a/indra/llimage/llpngwrapper.h +++ b/indra/llimage/llpngwrapper.h @@ -45,7 +45,7 @@ public: BOOL isValidPng(U8* src); BOOL readPng(U8* src, S32 dataSize, LLImageRaw* rawImage, ImageInfo *infop = NULL); - BOOL writePng(const LLImageRaw* rawImage, U8* dst); + BOOL writePng(const LLImageRaw* rawImage, U8* dst, size_t destSize); U32 getFinalSize(); const std::string& getErrorMessage(); |