]> the.earth.li Git - mqtt-arp.git/commitdiff
Fix option parsing on some platforms (e.g. ARM)
authorJonathan McDowell <noodles@earth.li>
Wed, 23 Sep 2020 08:14:38 +0000 (09:14 +0100)
committerJonathan McDowell <noodles@earth.li>
Wed, 23 Sep 2020 08:14:38 +0000 (09:14 +0100)
getopt_long returns an int, not a char, and on some platforms we hit
issues with the sign extension as a result. Do it properly.

Fixes #2


No differences found