mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 16:59:54 +00:00
update components/nstackx/fillp/src/fillp_lib/include/fillp/fillp.h.
Signed-off-by: Agrant <luojuheng@huawei.com>
This commit is contained in:
parent
76cbbe7979
commit
2b85eb806b
@ -386,9 +386,10 @@ typedef enum InnerfillpClientfourhandshakestateEnum {
|
||||
#define FILLP_PKT_DISCONN_MSG_FLAG_IS_ACK(_flag) ((_flag)&FILLP_PKT_DISCONN_MSG_FLAG_ACK)
|
||||
#define FILLP_PKT_DISCONN_MSG_FLAG_IS_VER(_flag) ((_flag) & FILLP_PKT_DISCONN_MSG_FLAG_VER)
|
||||
|
||||
__attribute__((no_sanitize("unsigned-integer-overflow")))
|
||||
static __inline FILLP_INT FillpNumIsbigger(FILLP_UINT32 value1, FILLP_UINT32 value2)
|
||||
{
|
||||
return value1 > value2;
|
||||
return ((FILLP_INT32)(value1 - value2)) > 0;
|
||||
}
|
||||
|
||||
void FillpSendConnConfirmAck(struct FillpPcb *pcb);
|
||||
|
Loading…
Reference in New Issue
Block a user