summaryrefslogtreecommitdiff
path: root/ACE/ace/ETCL/ETCL_Interpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/ETCL/ETCL_Interpreter.cpp')
-rw-r--r--ACE/ace/ETCL/ETCL_Interpreter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/ETCL/ETCL_Interpreter.cpp b/ACE/ace/ETCL/ETCL_Interpreter.cpp
index e7ae9a7d016..5d7cbcfbc58 100644
--- a/ACE/ace/ETCL/ETCL_Interpreter.cpp
+++ b/ACE/ace/ETCL/ETCL_Interpreter.cpp
@@ -62,7 +62,7 @@ ETCL_Interpreter::is_empty_string (const char* str)
break;
}
- i++;
+ ++i;
}
if (str[i] == '\0')
@@ -84,11 +84,11 @@ int
Lex_String_Input::copy_into (char* buf,
int max_size)
{
- int chars_left =
+ int const chars_left =
ACE_Utils::truncate_cast<int> (
Lex_String_Input::end_ - Lex_String_Input::current_);
- int n = max_size > chars_left ? chars_left : max_size;
+ int const n = max_size > chars_left ? chars_left : max_size;
if (n > 0)
{