summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorharriss <harriss@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-05-29 00:21:17 +0000
committerharriss <harriss@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-05-29 00:21:17 +0000
commit6c1e254d65598b87a96399656a9fd4c755a53040 (patch)
treeb81350c5afc9ebe26503527d55bf43b4f424099b /TAO
parent46afaee3e1154f3ea594137654188db3adf20556 (diff)
downloadATCD-6c1e254d65598b87a96399656a9fd4c755a53040.tar.gz
ChangeLogTag: Tue May 29 00:15:35 UTC 2007 Scott Harris <harris_s@ociweb.com>
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLog6
-rw-r--r--TAO/TAO_IDL/be/be_visitor_native/native_ch.cpp4
2 files changed, 8 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index b9601b6c5b7..64196cbef6f 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,9 @@
+Tue May 29 00:15:35 UTC 2007 Scott Harris <harris_s@ociweb.com>
+
+ * TAO_IDL/be/be_visitor_native/native_ch.cpp:
+
+ Fix a warning.
+
Mon May 28 12:29:13 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
* orbsvcs/tests/Notify/lib/Driver.cpp:
diff --git a/TAO/TAO_IDL/be/be_visitor_native/native_ch.cpp b/TAO/TAO_IDL/be/be_visitor_native/native_ch.cpp
index f928ddf7bf0..a822d9dec14 100644
--- a/TAO/TAO_IDL/be/be_visitor_native/native_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_native/native_ch.cpp
@@ -77,8 +77,8 @@ be_visitor_native_ch::visit_native (be_native *node)
// DDS/DCPS zero-copy read sequence type support.
// strip the "Seq" ending to get the sample's name
- const int max_name_length = 2000;
- if (ACE_OS::strlen (node_name)-3 >= max_name_length)
+ const size_t max_name_length = 2000;
+ if (ACE_OS::strlen (node_name) >= max_name_length)
{
return -1;
}