dtcm: prevent to use NULL as a Tick type

Tick (aka time_t) shall be an integer type, not a pointer.
Change to use `0` instead of `NULL`.
This commit is contained in:
OBATA Akio
2021-10-16 17:07:37 +09:00
parent 4316bb797d
commit 16eb6092b0
5 changed files with 14 additions and 14 deletions

View File

@@ -230,7 +230,7 @@ WeekNumberToDay(
* month.
*/
if (date_tm->tm_mon != initial_month_number)
return ((Tick)NULL);
return (Tick)0;
return (_date);
}