latencyTimeSeries structure max field type fixed.

This commit is contained in:
antirez 2014-07-02 16:14:28 +02:00
parent 9d4d810861
commit 6f20482a86

View File

@ -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. */
};