Fix an integer type promotion that can lead to wrong offsets on 64 bit arches. Problem and solution found by Christian "Naddy" Weisgerber <naddy@openbsd.org>, thanks!
Fix an integer type promotion that can lead to wrong offsets on 64 bit arches.
Problem and solution found by Christian "Naddy" Weisgerber <naddy@openbsd.org>,
thanks!

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars