Fixed ntlm_av_pair_get_len return, no signed value required

This commit is contained in:
Armin Novak 2019-04-05 09:28:09 +02:00
parent 2c9cd5067f
commit f8dd9a9f75

View File

@ -100,7 +100,7 @@ ULONG ntlm_av_pair_list_length(NTLM_AV_PAIR* pAvPairList, size_t cbAvPairList)
return ((PBYTE) pAvPair - (PBYTE) pAvPairList) + sizeof(NTLM_AV_PAIR); return ((PBYTE) pAvPair - (PBYTE) pAvPairList) + sizeof(NTLM_AV_PAIR);
} }
static INLINE SSIZE_T ntlm_av_pair_get_len(const NTLM_AV_PAIR* pAvPair) static INLINE SIZE_T ntlm_av_pair_get_len(const NTLM_AV_PAIR* pAvPair)
{ {
UINT16 AvLen; UINT16 AvLen;