Chore: silense compiler warnings

This commit is contained in:
Carter Li committed 2025-07-16 15:19:48 +08:00
1 parent 14f1278485
commit 1ac1f1f889
1 file changed
+1 -1
+1 -1
View File
@@ -131,7 +131,7 @@ static inline FFTimeGetAgeResult ffTimeGetAge(uint64_t birthMs, uint64_t nowMs)
if (now_tm.tm_yday < birth_tm.tm_yday)
result.years--;
birth_tm.tm_year += result.years;
birth_tm.tm_year += (int) result.years;
birth_s = mktime(&birth_tm);
uint32_t diff_s = (uint32_t) (now_s - birth_s);
result.daysOfYear = diff_s / (24 * 60 * 60);