Commit 2f5943e8 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Logger: use double for reading time

parent 87e54c49
......@@ -854,7 +854,7 @@ int logger_read_timestamp(unsigned long long int *t, double *time, size_t *offse
buff += sizeof(unsigned long long int);
/* Copy the timestamp value from the buffer. */
memcpy(time, buff, sizeof(unsigned long long int));
memcpy(time, buff, sizeof(double));
/* Finally, return the mask of the values we just read. */
return mask;
......
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