We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b41262 + 3b52aad commit a8c2d1eCopy full SHA for a8c2d1e
core/file/nifti_utils.cpp
@@ -81,6 +81,7 @@ namespace MR
81
using dim_type = typename Type<NiftiHeader>::dim_type;
82
using code_type = typename Type<NiftiHeader>::code_type;
83
using float_type = typename Type<NiftiHeader>::float_type;
84
+ using vox_offset_type = typename Type<NiftiHeader>::vox_offset_type;
85
86
bool is_BE = false;
87
if (Raw::fetch_<int32_t> (&NH.sizeof_hdr, is_BE) != sizeof(NH)) {
@@ -217,7 +218,7 @@ namespace MR
217
218
219
220
- const int64_t data_offset = Raw::fetch_<float_type> (&NH.vox_offset, is_BE);
221
+ const int64_t data_offset = Raw::fetch_<vox_offset_type> (&NH.vox_offset, is_BE);
222
223
224
0 commit comments