diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-04-30 11:16:28 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-04-30 11:16:28 +0200 |
commit | edd73d0ba5a3cfb856f9f75e98340efc2ade556a (patch) | |
tree | 2b0dc868883e33b4e4d979191a445e2f88af0090 /searchlib/src/apps | |
parent | 724ae768c90eefd08ffab79d6dafc520abeacc04 (diff) |
Use int for FastOS_UNIX_Application::GetOpt() return value.
Diffstat (limited to 'searchlib/src/apps')
-rw-r--r-- | searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp | 2 | ||||
-rw-r--r-- | searchlib/src/apps/vespa-fileheader-inspect/vespa-fileheader-inspect.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp b/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp index 6e5e3f75b5e..14584a46a04 100644 --- a/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp +++ b/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp @@ -113,7 +113,7 @@ LoadAttribute::Main() bool doHuge = false; int idx = 1; - char opt; + int opt; const char * arg; bool optError = false; while ((opt = GetOpt("pasf:h", arg, idx)) != -1) { diff --git a/searchlib/src/apps/vespa-fileheader-inspect/vespa-fileheader-inspect.cpp b/searchlib/src/apps/vespa-fileheader-inspect/vespa-fileheader-inspect.cpp index e512cfcdffb..d67946d29f1 100644 --- a/searchlib/src/apps/vespa-fileheader-inspect/vespa-fileheader-inspect.cpp +++ b/searchlib/src/apps/vespa-fileheader-inspect/vespa-fileheader-inspect.cpp @@ -57,7 +57,7 @@ Application::usage() int Application::parseOpts() { - char c = '?'; + int c = '?'; const char *optArg = NULL; int optInd = 0; while ((c = GetOpt("d:f:qh", optArg, optInd)) != -1) { |