getTickCount() returns negative numbers after a while
The documentation states:
The function getTickCount() returns the time passed (in milliseconds) since the system was started. It is used for example in performance monitoring. Hint: After 49.7 days of concurrent on time, the system value is set back to zero.
unexpectedly after about 24,85 days the function starts returning negative numbers, starting from -2147483648 and working towards zero. Negative numbers don't make sense semantically. Something is probably a "signed int" that should have been an "unsigned int".