Skip to content
Snippets Groups Projects
Commit 9bd22989 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Logger: fix debug checks

parent dee5c258
No related branches found
No related tags found
1 merge request!998Logger: small fix
......@@ -150,7 +150,7 @@ size_t tools_reverse_offset(const struct header *h, void *file_map,
#ifdef SWIFT_DEBUG_CHECKS
size_t prev_mask = 0;
map = (char *)map - LOGGER_MASK_SIZE + LOGGER_OFFSET_SIZE;
map = (char *)map - LOGGER_MASK_SIZE - LOGGER_OFFSET_SIZE;
logger_loader_io_read_mask(h, map, &prev_mask, NULL);
/* Check if we are not mixing timestamp and particles */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment