mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-19 11:33:05 +00:00
rtl8188eu: Replace several local size defines/typedefs with kernel header version
These include the following: SIZE_T => size_t SSIZE_T => ssize_t SIZE_PTR => size_t Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
41ad3e27c6
commit
2685b52404
18 changed files with 58 additions and 63 deletions
|
@ -218,7 +218,7 @@ _func_enter_;
|
|||
arcfour_encrypt(&mycontext, payload+length, crc, 4);
|
||||
|
||||
pframe+=pxmitpriv->frag_len;
|
||||
pframe=(u8 *)RND4((SIZE_PTR)(pframe));
|
||||
pframe=(u8 *)RND4((size_t)(pframe));
|
||||
|
||||
}
|
||||
|
||||
|
@ -717,7 +717,7 @@ _func_enter_;
|
|||
arcfour_encrypt(&mycontext, payload+length, crc, 4);
|
||||
|
||||
pframe+=pxmitpriv->frag_len;
|
||||
pframe=(u8 *)RND4((SIZE_PTR)(pframe));
|
||||
pframe=(u8 *)RND4((size_t)(pframe));
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1525,7 +1525,7 @@ _func_enter_;
|
|||
|
||||
aes_cipher(prwskey,pattrib->hdrlen,pframe, length);
|
||||
pframe+=pxmitpriv->frag_len;
|
||||
pframe=(u8*)RND4((SIZE_PTR)(pframe));
|
||||
pframe=(u8*)RND4((size_t)(pframe));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue