From e057aac7359201c7109f9aba3b79a583a3f44145 Mon Sep 17 00:00:00 2001 From: Jochen Roessner Date: Sat, 12 Nov 2016 12:49:29 +0100 Subject: [PATCH] fix raspberry pi declare char as unsigned --- src/calcelestial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calcelestial.c b/src/calcelestial.c index 2ebc553..d06ef54 100644 --- a/src/calcelestial.c +++ b/src/calcelestial.c @@ -152,7 +152,7 @@ int main(int argc, char *argv[]) /* parse command line arguments */ while (1) { - char c = getopt_long(argc, argv, "+hvnult:d:f:a:o:q:z:p:m:H:", long_options, NULL); + int c = getopt_long(argc, argv, "+hvnult:d:f:a:o:q:z:p:m:H:", long_options, NULL); /* detect the end of the options. */ if (c == -1)