diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/src/apps/vespa-configproxy-cmd/main.cpp | 2 | ||||
-rw-r--r-- | config/src/apps/vespa-get-config/getconfig.cpp | 2 | ||||
-rw-r--r-- | config/src/apps/vespa-ping-configproxy/pingproxy.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/config/src/apps/vespa-configproxy-cmd/main.cpp b/config/src/apps/vespa-configproxy-cmd/main.cpp index bb908e7268b..967bfee4ba9 100644 --- a/config/src/apps/vespa-configproxy-cmd/main.cpp +++ b/config/src/apps/vespa-configproxy-cmd/main.cpp @@ -19,7 +19,7 @@ public: bool Application::parseOpts() { - char c = '?'; + int c = '?'; const char *optArg = NULL; int optInd = 0; while ((c = GetOpt("m:s:p:h", optArg, optInd)) != -1) { diff --git a/config/src/apps/vespa-get-config/getconfig.cpp b/config/src/apps/vespa-get-config/getconfig.cpp index e8ef1765473..273a3abd1cd 100644 --- a/config/src/apps/vespa-get-config/getconfig.cpp +++ b/config/src/apps/vespa-get-config/getconfig.cpp @@ -91,7 +91,7 @@ int GetConfig::Main() { bool debugging = false; - char c = -1; + int c = -1; std::vector<vespalib::string> defSchema; const char *schema = nullptr; diff --git a/config/src/apps/vespa-ping-configproxy/pingproxy.cpp b/config/src/apps/vespa-ping-configproxy/pingproxy.cpp index a47fd25f9af..787681cc670 100644 --- a/config/src/apps/vespa-ping-configproxy/pingproxy.cpp +++ b/config/src/apps/vespa-ping-configproxy/pingproxy.cpp @@ -70,7 +70,7 @@ PingProxy::Main() { int retval = 0; bool debugging = false; - char c = -1; + int c = -1; const char *serverHost = "localhost"; int clientTimeout = 5; |