From: Jonathan McDowell Date: Wed, 23 Sep 2020 08:14:38 +0000 (+0100) Subject: Fix option parsing on some platforms (e.g. ARM) X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=21137fd11bb52ff1a24987c4f51946b85f6eb0af;hp=21137fd11bb52ff1a24987c4f51946b85f6eb0af;p=mqtt-arp.git Fix option parsing on some platforms (e.g. ARM) 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 ---