Skip to content

Commit eb65077

Browse files
committed
fixed:linux build error
1 parent d7e0f78 commit eb65077

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

XEngine_Source/MQCore_ProtocolModule/ProtocolModule_Packet/ProtocolModule_Packet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@ bool CProtocolModule_Packet::ProtocolModule_Packet_UserList(XCHAR* ptszMsgBuffer
360360
st_JsonObject["tszUserName"] = (*pppSt_UserInfo)[i]->tszUserName;
361361
st_JsonObject["tszUserPass"] = (*pppSt_UserInfo)[i]->tszUserPass;
362362
st_JsonObject["tszEMailAddr"] = (*pppSt_UserInfo)[i]->tszEMailAddr;
363-
st_JsonObject["nPhoneNumber"] = (*pppSt_UserInfo)[i]->nPhoneNumber;
363+
st_JsonObject["nPhoneNumber"] = (Json::Value::Int64)(*pppSt_UserInfo)[i]->nPhoneNumber;
364364
st_JsonObject["nIDNumber"] = (Json::Value::Int64)(*pppSt_UserInfo)[i]->nIDNumber;
365-
st_JsonObject["nUserState"] = (Json::Value::Int64)(*pppSt_UserInfo)[i]->nUserState;
365+
st_JsonObject["nUserState"] = (*pppSt_UserInfo)[i]->nUserState;
366366
st_JsonObject["nUserLevel"] = (*pppSt_UserInfo)[i]->nUserLevel;
367367
st_JsonObject["tszLoginTime"] = (*pppSt_UserInfo)[i]->tszLoginTime;
368368
st_JsonObject["tszCreateTime"] = (*pppSt_UserInfo)[i]->tszCreateTime;

0 commit comments

Comments
 (0)