summaryrefslogtreecommitdiff
path: root/apps/gperf/src/Key_List.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gperf/src/Key_List.cpp')
-rw-r--r--apps/gperf/src/Key_List.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gperf/src/Key_List.cpp b/apps/gperf/src/Key_List.cpp
index e954c075e8a..61b91f403c7 100644
--- a/apps/gperf/src/Key_List.cpp
+++ b/apps/gperf/src/Key_List.cpp
@@ -137,7 +137,7 @@ Key_List::special_input (char delimiter)
delete [] buf;
buf = temp;
}
- buf[i] = static_cast<char> (c);
+ buf[i] = c;
}
return 0;
@@ -256,7 +256,7 @@ Key_List::read_keys (void)
delimiter))),
-1);
for (temp = this->head;
- (0 != (buffer = input.read ('\n')))
+ (buffer = input.read ('\n'))
&& ACE_OS::strcmp (buffer, "%%");
temp = temp->next)
{