mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-15 22:21:29 +00:00
Staging: vt6655: remove ULONG_PTR typedef
Signed-off-by: Charles Clément <caratorn@gmail.com>
This commit is contained in:
parent
e54d9eb951
commit
dec572cbe6
@ -471,7 +471,7 @@ BSSbInsertToBSSList (
|
|||||||
if (pRSNWPA != NULL) {
|
if (pRSNWPA != NULL) {
|
||||||
unsigned int uLen = pRSNWPA->len + 2;
|
unsigned int uLen = pRSNWPA->len + 2;
|
||||||
|
|
||||||
if (uLen <= (uIELength - (unsigned int)(ULONG_PTR)((unsigned char *)pRSNWPA - pbyIEs))) {
|
if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSNWPA - pbyIEs))) {
|
||||||
pBSSList->wWPALen = uLen;
|
pBSSList->wWPALen = uLen;
|
||||||
memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
|
memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
|
||||||
WPA_ParseRSN(pBSSList, pRSNWPA);
|
WPA_ParseRSN(pBSSList, pRSNWPA);
|
||||||
@ -482,7 +482,7 @@ BSSbInsertToBSSList (
|
|||||||
|
|
||||||
if (pRSN != NULL) {
|
if (pRSN != NULL) {
|
||||||
unsigned int uLen = pRSN->len + 2;
|
unsigned int uLen = pRSN->len + 2;
|
||||||
if (uLen <= (uIELength - (unsigned int)(ULONG_PTR)((unsigned char *)pRSN - pbyIEs))) {
|
if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSN - pbyIEs))) {
|
||||||
pBSSList->wRSNLen = uLen;
|
pBSSList->wRSNLen = uLen;
|
||||||
memcpy(pBSSList->byRSNIE, pRSN, uLen);
|
memcpy(pBSSList->byRSNIE, pRSN, uLen);
|
||||||
WPA2vParseRSN(pBSSList, pRSN);
|
WPA2vParseRSN(pBSSList, pRSN);
|
||||||
@ -671,7 +671,7 @@ BSSbUpdateToBSSList (
|
|||||||
|
|
||||||
if (pRSNWPA != NULL) {
|
if (pRSNWPA != NULL) {
|
||||||
unsigned int uLen = pRSNWPA->len + 2;
|
unsigned int uLen = pRSNWPA->len + 2;
|
||||||
if (uLen <= (uIELength - (unsigned int)(ULONG_PTR)((unsigned char *)pRSNWPA - pbyIEs))) {
|
if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSNWPA - pbyIEs))) {
|
||||||
pBSSList->wWPALen = uLen;
|
pBSSList->wWPALen = uLen;
|
||||||
memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
|
memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
|
||||||
WPA_ParseRSN(pBSSList, pRSNWPA);
|
WPA_ParseRSN(pBSSList, pRSNWPA);
|
||||||
@ -682,7 +682,7 @@ BSSbUpdateToBSSList (
|
|||||||
|
|
||||||
if (pRSN != NULL) {
|
if (pRSN != NULL) {
|
||||||
unsigned int uLen = pRSN->len + 2;
|
unsigned int uLen = pRSN->len + 2;
|
||||||
if (uLen <= (uIELength - (unsigned int)(ULONG_PTR)((unsigned char *)pRSN - pbyIEs))) {
|
if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSN - pbyIEs))) {
|
||||||
pBSSList->wRSNLen = uLen;
|
pBSSList->wRSNLen = uLen;
|
||||||
memcpy(pBSSList->byRSNIE, pRSN, uLen);
|
memcpy(pBSSList->byRSNIE, pRSN, uLen);
|
||||||
WPA2vParseRSN(pBSSList, pRSN);
|
WPA2vParseRSN(pBSSList, pRSN);
|
||||||
|
@ -86,7 +86,6 @@ typedef UQuadWord QWORD; // 64-bit
|
|||||||
|
|
||||||
/****** Common pointer types ***********************************************/
|
/****** Common pointer types ***********************************************/
|
||||||
|
|
||||||
typedef unsigned long ULONG_PTR; // 32-bit
|
|
||||||
typedef unsigned long DWORD_PTR; // 32-bit
|
typedef unsigned long DWORD_PTR; // 32-bit
|
||||||
|
|
||||||
// boolean pointer
|
// boolean pointer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user