[server,proxy] fix integer narrowing
This commit is contained in:
parent
b5dbe5a167
commit
10bb42e4d8
@ -94,8 +94,8 @@ PfChannelResult channelTracker_update(ChannelStateTracker* tracker, const BYTE*
|
||||
UINT32 flags, size_t totalSize)
|
||||
{
|
||||
PfChannelResult result = PF_CHANNEL_RESULT_ERROR;
|
||||
BOOL firstPacket = (flags & CHANNEL_FLAG_FIRST);
|
||||
BOOL lastPacket = (flags & CHANNEL_FLAG_LAST);
|
||||
BOOL firstPacket = (flags & CHANNEL_FLAG_FIRST) != 0;
|
||||
BOOL lastPacket = (flags & CHANNEL_FLAG_LAST) != 0;
|
||||
|
||||
WINPR_ASSERT(tracker);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user