@@ -97,7 +97,7 @@ bool CAuthorize_CDKey::Authorize_CDKey_WriteKey(LPCXSTR lpszFileKey, XENGINE_AUT
97
97
memset (tszTimeStart, ' \0 ' , sizeof (tszTimeStart));
98
98
memset (tszTimeEnd, ' \0 ' , sizeof (tszTimeEnd));
99
99
BaseLib_Time_TimeToStr (tszTimeEnd);
100
- BaseLib_TimeSpan_GetForStr (pSt_AuthLocal->st_AuthRegInfo .tszStartTime , tszTimeEnd, &nUsedTime, ENUM_XENGINE_BASELIB_TIME_SPAN_TYPE_SECOND );
100
+ BaseLib_TimeSpan_GetForStr (pSt_AuthLocal->st_AuthRegInfo .tszStartTime , tszTimeEnd, &nUsedTime, ENUM_XENGINE_BASELIB_TIME_TYPE_SECOND );
101
101
pSt_AuthLocal->st_AuthRegInfo .nHasTime -= nUsedTime;
102
102
}
103
103
// 添加注册信息
@@ -472,7 +472,7 @@ bool CAuthorize_CDKey::Authorize_CDKey_WriteMemory(XCHAR* ptszMsgBuffer, int* pI
472
472
memset (tszTimeStart, ' \0 ' , sizeof (tszTimeStart));
473
473
memset (tszTimeEnd, ' \0 ' , sizeof (tszTimeEnd));
474
474
BaseLib_Time_TimeToStr (tszTimeEnd);
475
- BaseLib_TimeSpan_GetForStr (pSt_AuthLocal->st_AuthRegInfo .tszStartTime , tszTimeEnd, &nUsedTime, ENUM_XENGINE_BASELIB_TIME_SPAN_TYPE_SECOND );
475
+ BaseLib_TimeSpan_GetForStr (pSt_AuthLocal->st_AuthRegInfo .tszStartTime , tszTimeEnd, &nUsedTime, ENUM_XENGINE_BASELIB_TIME_TYPE_SECOND );
476
476
pSt_AuthLocal->st_AuthRegInfo .nHasTime -= nUsedTime;
477
477
}
478
478
// 添加注册信息
@@ -1009,7 +1009,7 @@ bool CAuthorize_CDKey::Authorize_CDKey_GetLeftTimer(XENGINE_AUTHORIZE_LOCAL* pSt
1009
1009
else if (ENUM_AUTHORIZE_MODULE_SERIAL_TYPE_CUSTOM == pSt_AuthLocal->st_AuthRegInfo .enSerialType )
1010
1010
{
1011
1011
_stxscanf (pSt_AuthLocal->st_AuthRegInfo .tszLeftTime , _X (" %04d-%02d-%02d %02d:%02d:%02d" ), &st_EndTimer.wYear , &st_EndTimer.wMonth , &st_EndTimer.wDay , &st_EndTimer.wHour , &st_EndTimer.wMinute , &st_EndTimer.wSecond );
1012
- BaseLib_TimeSpan_GetForStu (&st_SysTimer, &st_EndTimer, &pSt_AuthLocal->st_AuthRegInfo .nHasTime , ENUM_XENGINE_BASELIB_TIME_SPAN_TYPE_SECOND );
1012
+ BaseLib_TimeSpan_GetForStu (&st_SysTimer, &st_EndTimer, &pSt_AuthLocal->st_AuthRegInfo .nHasTime , ENUM_XENGINE_BASELIB_TIME_TYPE_SECOND );
1013
1013
}
1014
1014
else
1015
1015
{
0 commit comments