Commit 460d2cf7 authored by lhausamm's avatar lhausamm Committed by Matthieu Schaller
Browse files

Add comment to remove a quick fix

parent 22795d22
......@@ -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);
}
......
Markdown is supported
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