lib/timeutils/timeutils: Fix pedantic warning in coverage build.
This commit is contained in:
parent
993cc3611a
commit
1bc8aa85a4
|
@ -204,7 +204,7 @@ mp_uint_t timeutils_mktime(mp_uint_t year, mp_int_t month, mp_int_t mday,
|
|||
}
|
||||
mday += timeutils_days_in_month(year, month);
|
||||
}
|
||||
while (mday > timeutils_days_in_month(year, month)) {
|
||||
while ((mp_uint_t)mday > timeutils_days_in_month(year, month)) {
|
||||
mday -= timeutils_days_in_month(year, month);
|
||||
if (++month == 13) {
|
||||
month = 1;
|
||||
|
|
Loading…
Reference in New Issue