summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorsbw1 <sbw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-13 00:05:14 +0000
committersbw1 <sbw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-13 00:05:14 +0000
commitb315f9d7a14b1e80c736c3a68ab5df0ff4e6dce5 (patch)
tree1bf6bcc9cd445384126efb15488f3b0ef98d801f /TAO
parent430be8678ab414dc8ceab1c587cad630a56b6bb1 (diff)
downloadATCD-b315f9d7a14b1e80c736c3a68ab5df0ff4e6dce5.tar.gz
Fixed the is_nil bug described in the ChangeLog
Diffstat (limited to 'TAO')
-rw-r--r--TAO/tao/request.cpp2
-rw-r--r--TAO/tao/typecode.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/request.cpp b/TAO/tao/request.cpp
index 24a44eabce2..76ee103e23e 100644
--- a/TAO/tao/request.cpp
+++ b/TAO/tao/request.cpp
@@ -38,7 +38,7 @@ CORBA::release (CORBA::Request_ptr req)
CORBA::Boolean
CORBA::is_nil (CORBA::Request_ptr req)
{
- return (CORBA::Boolean) req == 0;
+ return (CORBA::Boolean) (req == 0);
}
diff --git a/TAO/tao/typecode.cpp b/TAO/tao/typecode.cpp
index cd4c891639c..94a89c53c89 100644
--- a/TAO/tao/typecode.cpp
+++ b/TAO/tao/typecode.cpp
@@ -185,7 +185,7 @@ void CORBA::release (CORBA::TypeCode_ptr tc)
// returns true if the typecode is NULL
CORBA::Boolean CORBA::is_nil (CORBA::TypeCode_ptr tc)
{
- return (CORBA::Boolean) tc == 0;
+ return (CORBA::Boolean) (tc == 0);
}
// Return the i-th member typecode if it exists, else raise an