From: Malcolm Priestley Date: Sun, 11 Nov 2012 15:53:14 +0000 (+0000) Subject: staging: vt6656: 64 bit fixes pdwIV is now u32 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d5bbef7c94d1f29aeef4cfcd801245a156a67e95;p=linux-beck.git staging: vt6656: 64 bit fixes pdwIV is now u32 Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index cd9debc20786..83c04e120935 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -355,7 +355,7 @@ s_vFillTxKey ( } // Append IV after Mac Header *pdwIV &= WEP_IV_MASK;//00000000 11111111 11111111 11111111 - *pdwIV |= (unsigned long)pDevice->byKeyIndex << 30; + *pdwIV |= (u32)pDevice->byKeyIndex << 30; *pdwIV = cpu_to_le32(*pdwIV); pDevice->dwIVCounter++; if (pDevice->dwIVCounter > WEP_IV_MASK) {