timer: fix previous commit

Sigh... of course the type of the (?:) exprsssion is double, so
INT64_MAX was converted to double, which is a problem.