comparison OrthancFramework/Sources/Images/PamReader.cpp @ 4071:d6b7fb0f9652 framework

improved DownloadOrthancFramework.cmake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Jun 2020 12:26:45 +0200
parents d25f4c0fa160
children bf7b9edf6b81
comparison
equal deleted inserted replaced
4070:f1e82dd6acb1 4071:d6b7fb0f9652
240 { 240 {
241 uint16_t* pixel = reinterpret_cast<uint16_t*>(GetRow(h)); 241 uint16_t* pixel = reinterpret_cast<uint16_t*>(GetRow(h));
242 242
243 for (unsigned int w = 0; w < GetWidth(); ++w, ++pixel) 243 for (unsigned int w = 0; w < GetWidth(); ++w, ++pixel)
244 { 244 {
245 #if ORTHANC_ENABLE_WASM == 1 245 #if defined(__EMSCRIPTEN__) // For WebAssembly
246 /* 246 /*
247 247
248 crash (2019-08-05): 248 crash (2019-08-05):
249 249
250 Uncaught abort(alignment fault) at Error 250 Uncaught abort(alignment fault) at Error