comparison OrthancFramework/Sources/Images/JpegReader.cpp @ 5512:0a74634073c0

fix static builds
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Jan 2024 21:58:14 +0100
parents 48b8dae6dc77
children f7adfb22e20e
comparison
equal deleted inserted replaced
5511:17dd8b26d0ec 5512:0a74634073c0
156 156
157 // Below this line, we are under the scope of a "setjmp" 157 // Below this line, we are under the scope of a "setjmp"
158 jpeg_create_decompress(&cinfo); 158 jpeg_create_decompress(&cinfo);
159 jpeg_mem_src(&cinfo, 159 jpeg_mem_src(&cinfo,
160 const_cast<unsigned char*>( 160 const_cast<unsigned char*>(
161 reinterpret_cast<const unsigned char*>(buffer)), 161 reinterpret_cast<const unsigned char*>(buffer)), size);
162 static_cast<unsigned long>(size));
163 162
164 try 163 try
165 { 164 {
166 Uncompress(cinfo, content_, *this); 165 Uncompress(cinfo, content_, *this);
167 } 166 }