提交 b18dc34e 编写于 作者: D Daniel Gustafsson

Use integer for getopt() returnvalue

getopt() return integer and subtle differences can exist between
using an integer and a char. Reported by github user liruto.
上级 9e1de55a
......@@ -144,7 +144,7 @@ main(int argc, char **argv)
int num_retries = 20;
int transition_timeout = 3600; /* 1 hour */
char opt;
int opt;
char msgBuffer[SEGMENT_MSG_BUF_SIZE];
char *msg = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册