aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimagej2coj/llimagej2coj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llimagej2coj/llimagej2coj.cpp')
-rw-r--r--linden/indra/llimagej2coj/llimagej2coj.cpp6
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 //