summaryrefslogtreecommitdiffstats
path: root/configutil
diff options
context:
space:
mode:
Diffstat (limited to 'configutil')
-rw-r--r--configutil/src/apps/configstatus/main.cpp2
-rw-r--r--configutil/src/apps/modelinspect/main.cpp2
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) {