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 /configutil/src | |
parent | 724ae768c90eefd08ffab79d6dafc520abeacc04 (diff) |
Use int for FastOS_UNIX_Application::GetOpt() return value.
Diffstat (limited to 'configutil/src')
-rw-r--r-- | configutil/src/apps/configstatus/main.cpp | 2 | ||||
-rw-r--r-- | configutil/src/apps/modelinspect/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configutil/src/apps/configstatus/main.cpp b/configutil/src/apps/configstatus/main.cpp index befd0e649f6..218844a2a90 100644 --- a/configutil/src/apps/configstatus/main.cpp +++ b/configutil/src/apps/configstatus/main.cpp @@ -33,7 +33,7 @@ Application::Application() Application::~Application() { } int Application::parseOpts() { - char c = '?'; + int c = '?'; const char *optArg = NULL; int optInd = 0; while ((c = GetOpt("c:s:vC:f:", optArg, optInd)) != -1) { diff --git a/configutil/src/apps/modelinspect/main.cpp b/configutil/src/apps/modelinspect/main.cpp index c43294be8de..9125cbff379 100644 --- a/configutil/src/apps/modelinspect/main.cpp +++ b/configutil/src/apps/modelinspect/main.cpp @@ -32,7 +32,7 @@ Application::~Application() { } int Application::parseOpts() { - char c = '?'; + int c = '?'; const char *optArg = NULL; int optInd = 0; while ((c = GetOpt("hvut:c:C:", optArg, optInd)) != -1) { |