]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use int type to store result from isc_commandline_parse()
authorOndřej Surý <ondrej@sury.org>
Thu, 4 Mar 2021 09:43:00 +0000 (10:43 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 4 Mar 2021 10:21:26 +0000 (11:21 +0100)
commit7a8193efba93fc969723ffa3860eb1839d61b620
tree326add4efef00443dba68589d0be478f4a9e46be
parent31cbf73bd4fa79b83d1ed85c5d73ebda88d41f08
Use int type to store result from isc_commandline_parse()

The C standard actually doesn't define char as signed or unsigned, and
it could be either according to underlying architecture.  It turns out
that while it's usually signed type, it isn't on arm64 where it's
unsigned.

isc_commandline_parse() return int, just use that instead of the char.

(cherry picked from commit 8153729d3a59eafa7e02068f239d9a999d302b99)
bin/tools/named-journalprint.c