Length of a packet requires 32 bit.
This commit is contained in:
parent
9d3e5a715b
commit
6d1265ade1
@ -299,7 +299,7 @@ static inline uint8_t MYSQL_GET_PACKET_NO(const uint8_t* header)
|
||||
return header[3];
|
||||
}
|
||||
|
||||
static inline uint8_t MYSQL_GET_PACKET_LEN(const uint8_t* header)
|
||||
static inline uint32_t MYSQL_GET_PACKET_LEN(const uint8_t* header)
|
||||
{
|
||||
return gw_mysql_get_byte3(header);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user