From 6f20482a8695d8f8313caea11927a39ce1c5fdb7 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 2 Jul 2014 16:14:28 +0200 Subject: [PATCH] latencyTimeSeries structure max field type fixed. --- src/latency.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/latency.h b/src/latency.h index cf084e31f..10f9e56f7 100644 --- a/src/latency.h +++ b/src/latency.h @@ -46,7 +46,7 @@ struct latencySample { /* The latency time series for a given event. */ struct latencyTimeSeries { int idx; /* Index of the next sample to store. */ - mstime_t max; /* Max latency observed for this event. */ + uint32_t max; /* Max latency observed for this event. */ struct latencySample samples[LATENCY_TS_LEN]; /* Latest history. */ };