Skip to content

Use int type to store result from isc_commandline_parse()

Ondřej Surý requested to merge 2551-char-is-unsigned-on-arm64-v9_16 into v9_16

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 8153729d)

Closes #2551 (closed)

Merge request reports