Commit 1bc8aa85 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

lib/timeutils/timeutils: Fix pedantic warning in coverage build.

parent 993cc361
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment