pci: remove unnecessary casts in address parsing
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 5 Jul 2017 16:55:31 +0000 (09:55 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Jul 2017 23:27:19 +0000 (01:27 +0200)
commitc023dabc079ac7bf97cc945cf517589ab386ab17
treedab4ab483e2100fc15eabe6f65c3d0bf2a94159b
parent657c7133854b4f209a8fc3ebd7f978bcd3353b63
pci: remove unnecessary casts in address parsing

The function strtoul returns unsigned long and can be directly
assigned to a smaller type. Removing the casts allows easier
expansion of PCI domain.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_eal/linuxapp/eal/eal_pci.c