Skip to content

Commit 1ac1f1f

Browse files
committed
Chore: silense compiler warnings
1 parent 14f1278 commit 1ac1f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/time.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static inline FFTimeGetAgeResult ffTimeGetAge(uint64_t birthMs, uint64_t nowMs)
131131
if (now_tm.tm_yday < birth_tm.tm_yday)
132132
result.years--;
133133

134-
birth_tm.tm_year += result.years;
134+
birth_tm.tm_year += (int) result.years;
135135
birth_s = mktime(&birth_tm);
136136
uint32_t diff_s = (uint32_t) (now_s - birth_s);
137137
result.daysOfYear = diff_s / (24 * 60 * 60);

0 commit comments

Comments
 (0)