aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/src/simtrace2-sniff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/src/simtrace2-sniff.c b/host/src/simtrace2-sniff.c
index dfb6e7c..47d9e77 100644
--- a/host/src/simtrace2-sniff.c
+++ b/host/src/simtrace2-sniff.c
@@ -342,7 +342,7 @@ int main(int argc, char **argv)
while (1) {
int option_index = 0;
- char c = getopt_long(argc, argv, "hi:kV:P:C:I:S:A:", opts, &option_index);
+ int c = getopt_long(argc, argv, "hi:kV:P:C:I:S:A:", opts, &option_index);
if (c == -1)
break;
switch (c) {