(posix_time_parse): Add cast to avoid warning about `signed and unsigned type in conditional expression'.