[thin_scan][thin_ll_*] fix the data type for getopt_long return value to int

For toolchains represent char as unsigned type
This commit is contained in:
Ming-Hung Tsai
2016-05-19 00:47:54 +08:00
parent 55ecf87439
commit e985b8b3be
3 changed files with 3 additions and 3 deletions

View File

@@ -383,7 +383,7 @@ thin_scan_cmd::run(int argc, char **argv)
boost::optional<string> output;
flags f;
char c;
int c;
while ((c = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1) {
switch(c) {
case 'h':