drivers: net: silence compiler warning in smc91x.c
authorPankaj Dubey <pankaj.dubey@samsung.com>
Fri, 10 Jan 2014 03:04:06 +0000 (12:04 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jan 2014 19:54:43 +0000 (11:54 -0800)
commit6bc21eedcfbf35a087911578e7e30f98c5ece478
tree057af7b6922d950f04af913e0e7038b8820d983e
parentb884b1a46f205d56e33c0391c1d04644d846f41e
drivers: net: silence compiler warning in smc91x.c

If used 64 bit compiler GCC warns that:

drivers/net/ethernet/smsc/smc91x.c:1897:7:
warning: cast from pointer to integer of different
size [-Wpointer-to-int-cast]

This patch fixes this by changing typecast from "unsigned int" to "unsigned long"

CC: "David S. Miller" <davem@davemloft.net>
CC: Jingoo Han <jg1.han@samsung.com>
CC: netdev@vger.kernel.org
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc91x.c