mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 00:24:20 +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
|
@ -205,7 +205,7 @@ static u8 rtw_init_intf_priv(struct dvobj_priv *dvobj)
|
|||
goto exit;
|
||||
}
|
||||
dvobj->usb_vendor_req_buf =
|
||||
(u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(dvobj->usb_alloc_vendor_req_buf ), ALIGNMENT_UNIT);
|
||||
(u8 *)N_BYTE_ALIGMENT((size_t)(dvobj->usb_alloc_vendor_req_buf ), ALIGNMENT_UNIT);
|
||||
exit:
|
||||
return rst;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue