commit fced5a66069199024aaf413a06bcf544b959f6a8 from: Christian Weisgerber date: Wed Jul 20 18:25:36 2022 UTC gotwebd: fix potential type mismatch between format specifier and argument ok tracey commit - 05f04cdf3fa9619d7055f098b55f1633dbbf12c0 commit + fced5a66069199024aaf413a06bcf544b959f6a8 blob - 1f77113aefd24cce886b89debd8d60dc71eca3fd blob + c30fdedd0e6b808f3a0607b931d83f55c2e7b317 --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -2768,7 +2768,7 @@ const struct got_error * gotweb_get_time_str(char **repo_age, time_t committer_time, int ref_tm) { struct tm tm; - time_t diff_time; + long long diff_time; const char *years = "years ago", *months = "months ago"; const char *weeks = "weeks ago", *days = "days ago"; const char *hours = "hours ago", *minutes = "minutes ago";