]> git.sur5r.net Git - i3/i3lock/commit
getopt_long returns int, don't cast to char.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Fri, 29 Jun 2012 13:30:39 +0000 (10:30 -0300)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 29 Jun 2012 14:30:23 +0000 (16:30 +0200)
commit65795be0a9a0cafaecd69229244693c0d77984d5
tree3b2d167155c27a03d725073a66ac4b3c506f5308
parentfdf6d7af2a3987f456343367c9071023a593d471
getopt_long returns int, don't cast to char.

On ARM, casting -1 to char turns it into something else. Fixes
argument parsing on ARM. Thanks Chipaca for reporting.
i3lock.c