summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host.c b/src/host.c
index c15ef18..45fb109 100644
--- a/src/host.c
+++ b/src/host.c
@@ -47,7 +47,7 @@ int main(int argc, char **argv) {
INPUT_IP,
INPUT_HOST
} input_type = INPUT_NONE;
- char option;
+ signed char option;
while ((option = getopt(argc, argv, "46r")) != -1) {
switch (option) {