diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llimagej2coj/llimagej2coj.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llimagej2coj/llimagej2coj.cpp')
-rw-r--r-- | linden/indra/llimagej2coj/llimagej2coj.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llimagej2coj/llimagej2coj.cpp b/linden/indra/llimagej2coj/llimagej2coj.cpp index 478cc84..983241c 100644 --- a/linden/indra/llimagej2coj/llimagej2coj.cpp +++ b/linden/indra/llimagej2coj/llimagej2coj.cpp | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "llimagej2coj.h" | 33 | #include "llimagej2coj.h" |
34 | 34 | ||
35 | // this is defined so that we get static linking. | 35 | // this is defined so that we get static linking. |
36 | #include "openjpeg/openjpeg.h" | 36 | #include "openjpeg.h" |
37 | 37 | ||
38 | #include "lltimer.h" | 38 | #include "lltimer.h" |
39 | #include "llmemory.h" | 39 | #include "llmemory.h" |
@@ -268,12 +268,12 @@ BOOL LLImageJ2COJ::encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, con | |||
268 | 268 | ||
269 | if (!comment_text) | 269 | if (!comment_text) |
270 | { | 270 | { |
271 | parameters.cp_comment = ""; | 271 | parameters.cp_comment = (char *) ""; |
272 | } | 272 | } |
273 | else | 273 | else |
274 | { | 274 | { |
275 | // Awful hacky cast, too lazy to copy right now. | 275 | // Awful hacky cast, too lazy to copy right now. |
276 | parameters.cp_comment = (char *)comment_text; | 276 | parameters.cp_comment = (char *) comment_text; |
277 | } | 277 | } |
278 | 278 | ||
279 | // | 279 | // |