diff options
author | makefu <github@syntax-fehler.de> | 2013-11-01 00:21:45 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-11-01 00:21:45 +0100 |
commit | 708c47f058f687fe9f751502a6d3096f3d0b6fad (patch) | |
tree | 1ba9dd734aa11f9eaa49642a83c8c34f056cb15e /god/claws/rcontrol.c | |
parent | a1af0ff747bf17a4688eb8989b3f98d4d1ba560d (diff) |
port claws to arm
char is unsigned on arm, but signed on x86
Diffstat (limited to 'god/claws/rcontrol.c')
-rw-r--r-- | god/claws/rcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/god/claws/rcontrol.c b/god/claws/rcontrol.c index 972c97d0..eaa66b89 100644 --- a/god/claws/rcontrol.c +++ b/god/claws/rcontrol.c @@ -61,7 +61,7 @@ void exit_gracefully(struct ftdi_context* ftdic, char exit_code); int main(int argc, char **argv) { int ret=0, int_argument=0, option_flags=0, long_index=0, i=0, num_ops=0; - char c=0; + signed char c=0; unsigned char buf[COMMANDO_LENGTH], char_argument=0, operation=0; const char* ft_serial=DEFAULT_FT_SERIAL; double double_argument; |