- standardDate.wHour = hour;
- standardDate.wMinute = min;
- standardDate.wSecond = sec;
- standardDate.wMilliseconds = mil;
+ standardDate.wHour = static_cast<WORD>(hour);
+ standardDate.wMinute = static_cast<WORD>(min);
+ standardDate.wSecond = static_cast<WORD>(sec);
+ standardDate.wMilliseconds = static_cast<WORD>(mil);