comparison between signed and unsigned integer expressions Use uint32_t to store timestamp instead of int32_t. Adjust comparison to use timestamp as a zero-basis. This also avoids a bugs where a record that is added just before millis() overflows would never be removed from the list.