freebsd-skq/usr.bin/elfctl
Konstantin Belousov 9940ac808d elfctl: Fix type errors.
Target value for val has uint32_t type, not uint, adjust used constant.
Change val type to unsigned so that left and right sides of comparision
operator do not expose different signed types of same range [*].

Switch to unsigned long long and strtoll(3) so that 0x80000000 is
accepted by conversion function [**].

Reported by:	kargl [*]
Noted by:	emaste [**]
Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D28301
2021-01-23 17:24:32 +02:00
..
elfctl.1 elfctl: allow features to be specified by value 2021-01-22 14:38:52 -05:00
elfctl.c elfctl: Fix type errors. 2021-01-23 17:24:32 +02:00
Makefile