summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/InputUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceUtil/InputUtil.cpp')
-rw-r--r--cpp/src/IceUtil/InputUtil.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/IceUtil/InputUtil.cpp b/cpp/src/IceUtil/InputUtil.cpp
index 6b69086cbad..b8652fff152 100644
--- a/cpp/src/IceUtil/InputUtil.cpp
+++ b/cpp/src/IceUtil/InputUtil.cpp
@@ -45,10 +45,11 @@ strToInt64(const char* s, char** endptr, int base)
// Check for sign
//
int sign = 1;
- if (*s == '+')
+ if(*s == '+')
{
++s;
- } else if (*s == '-')
+ }
+ else if(*s == '-')
{
sign = -1;
++s;
@@ -82,7 +83,7 @@ strToInt64(const char* s, char** endptr, int base)
//
// Check that we have something left to parse
//
- if (*s == '/0')
+ if(*s == '/0')
{
return 0;
}