Tick tick;
_Xltimeparams localtime_buf;
- memset(×truct, NULL, sizeof(struct tm));
+ memset(×truct, 0, sizeof(struct tm));
tm = *_XLocaltime(&t, localtime_buf);
mn = tm.tm_mon + 1;
struct tm timestruct;
- memset(×truct, NULL, sizeof(struct tm));
+ memset(×truct, 0, sizeof(struct tm));
timestruct.tm_mon = m - 1;
timestruct.tm_mday = d;
timestruct.tm_year = y - 1900;