Commit 27b251bb authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'logger_fix_debug' into 'master'

Logger: small fix

See merge request !998
parents d9167a95 9bd22989
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment