Skip to content

Commit a2a2b86

Browse files
committed
fixed:linux build error
1 parent d9281f3 commit a2a2b86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

XEngine_Source/StorageModule_Protocol/Protocol_Packet/Protocol_StoragePacket.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ BOOL CProtocol_StoragePacket::Protocol_StoragePacket_QueryFile(TCHAR* ptszMsgBuf
108108
}
109109
if (0 != xhToken)
110110
{
111-
st_JsonRoot["xhToken"] = xhToken;
111+
st_JsonRoot["xhToken"] = (Json::Value::UInt64)xhToken;
112112
}
113113
st_JsonRoot["Code"] = 0;
114114
st_JsonRoot["Msg"] = _T("ok");
@@ -461,7 +461,7 @@ BOOL CProtocol_StoragePacket::Protocol_StoragePacket_REQFile(TCHAR* ptszMsgBuffe
461461
}
462462
if (0 != xhToken)
463463
{
464-
st_JsonRoot["xhToken"] = xhToken;
464+
st_JsonRoot["xhToken"] = (Json::Value::UInt64)xhToken;
465465
}
466466
st_JsonRoot["unOperatorType"] = ENUM_XENGINE_COMMUNICATION_PROTOCOL_TYPE_STORAGE;
467467
st_JsonRoot["unOperatorCode"] = XENGINE_COMMUNICATION_PROTOCOL_OPERATOR_CODE_STORAGE_REQQUERY;

0 commit comments

Comments
 (0)