Skip to content
Snippets Groups Projects
Commit 460d2cf7 authored by lhausamm's avatar lhausamm Committed by Matthieu Schaller
Browse files

Add comment to remove a quick fix

parent 22795d22
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ void dump_mapper(void *map_data, int num_elements, void *extra_data) {
size_t offset;
char *out_string = dump_get(d, 7, &offset);
char out_buff[8];
/* modulo due to bug in gcc, should be removed */
snprintf(out_buff, 8, "%06zi\n", (offset / 7) % 1000000);
memcpy(out_string, out_buff, 7);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment