comparison OrthancFramework/Sources/Images/PamReader.cpp @ 5432:59e3b6f8c5be

migration to UCLouvain servers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 21 Nov 2023 18:16:31 +0100
parents 0ea402b4d901
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5431:4be5f117aa0d 5432:59e3b6f8c5be
240 * pointer is 16-bit aligned (which is not the case if 240 * pointer is 16-bit aligned (which is not the case if
241 * "offset" is an odd number), and the trick that was used 241 * "offset" is an odd number), and the trick that was used
242 * in Orthanc <= 1.8.0 (i.e. make a "memcpy()" to a local 242 * in Orthanc <= 1.8.0 (i.e. make a "memcpy()" to a local
243 * uint16_t variable) doesn't seem work for WebAssembly. We 243 * uint16_t variable) doesn't seem work for WebAssembly. We
244 * thus use a plain old C implementation. Check out issue 244 * thus use a plain old C implementation. Check out issue
245 * #99: https://bugs.orthanc-server.com/show_bug.cgi?id=99 245 * #99: https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=99
246 * 246 *
247 * Here is the crash log on WebAssembly (2019-08-05): 247 * Here is the crash log on WebAssembly (2019-08-05):
248 * 248 *
249 * Uncaught abort(alignment fault) at Error 249 * Uncaught abort(alignment fault) at Error
250 * at jsStackTrace 250 * at jsStackTrace