From 49fd8f62d8103d6e40a33922d2492a5ec3e3e76e Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 18 Apr 2021 17:52:45 -0700 Subject: [PATCH] fix type of variable used for interacting with getopt Fixes some -Wsign-conversion and -Wsign-compare warnings. --- cmd/smyrna/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/smyrna/main.c b/cmd/smyrna/main.c index 88f51cafa..40e419d33 100644 --- a/cmd/smyrna/main.c +++ b/cmd/smyrna/main.c @@ -99,7 +99,7 @@ static char *Info[] = { static char *parseArgs(int argc, char *argv[], ViewInfo * view) { - unsigned int c; + int c; while ((c = getopt(argc, argv, ":eKf:txvV?")) != -1) { switch (c) { -- 2.40.0