sim/usrsock: correct the xid type to uint64_t

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-02-18 11:43:22 +08:00 committed by Petro Karashchenko
parent ab18b7b3d3
commit 5da5ffb7d4

View File

@ -91,7 +91,7 @@ static int usrsock_send(FAR struct usrsock_s *usrsock,
} }
static int usrsock_send_ack(FAR struct usrsock_s *usrsock, static int usrsock_send_ack(FAR struct usrsock_s *usrsock,
uint8_t xid, int32_t result) uint64_t xid, int32_t result)
{ {
struct usrsock_message_req_ack_s ack; struct usrsock_message_req_ack_s ack;
@ -106,7 +106,7 @@ static int usrsock_send_ack(FAR struct usrsock_s *usrsock,
static int usrsock_send_dack(FAR struct usrsock_s *usrsock, static int usrsock_send_dack(FAR struct usrsock_s *usrsock,
FAR struct usrsock_message_datareq_ack_s *ack, FAR struct usrsock_message_datareq_ack_s *ack,
uint8_t xid, int32_t result, uint64_t xid, int32_t result,
uint16_t valuelen, uint16_t valuelen,
uint16_t valuelen_nontrunc) uint16_t valuelen_nontrunc)
{ {