Commit b78c8aa6 authored by Alessandro Rubini's avatar Alessandro Rubini

latency: bugfix: saved sequence must be 32 bits

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 47f497ae
......@@ -38,7 +38,7 @@ static struct latency_frame {
struct wr_timestamp ts1, ts2;
} frame;
static uint16_t prev_sequence, prev_type;
static uint32_t prev_sequence, prev_type;
static void ts_sub(struct wr_timestamp *t2, struct wr_timestamp *t1,
struct wr_timestamp *res)
......
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