diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-30 09:02:26 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-30 09:02:49 -0400 |
commit | ed0ea96ed9ab19c0757a7b81619ace39e71a22c5 (patch) | |
tree | b0b6523a8eafd522af1969e5cf341c56d0da792c | |
parent | f93beebcba473dc4c60fa25272b805f04ef0541b (diff) | |
download | libgit2-ed0ea96ed9ab19c0757a7b81619ace39e71a22c5.tar.gz |
date: promote before multiplyethomson/fixups
-rw-r--r-- | src/date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c index 71bf631a0..2297ee66c 100644 --- a/src/date.c +++ b/src/date.c @@ -722,7 +722,7 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, struct tm while (tl->type) { size_t len = strlen(tl->type); if (match_string(date, tl->type) >= len-1) { - update_tm(tm, now, tl->length * *num); + update_tm(tm, now, tl->length * (unsigned long)*num); *num = 0; *touched = 1; return end; |