Commit Diff


commit - eaeaa612f1b842e2b6769ad9cf017064bfbaa06c
commit + 399ea8e46abdd9182e61a56f5c42920cea716f1f
blob - 49094f4539435c3d8f70a8497697d56329c8e348
blob + 84499b82e73678ab2e640d55e8f99d6a7fb28689
--- 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";