diff options
author | Chris Cleeland <chris.cleeland@gmail.com> | 1998-01-23 06:06:35 +0000 |
---|---|---|
committer | Chris Cleeland <chris.cleeland@gmail.com> | 1998-01-23 06:06:35 +0000 |
commit | 7ed68735a60e16eb4f6404c64aff412f6c09c1f4 (patch) | |
tree | 5b41e1a5024bbab603d1888f3e55d53086eb4be2 | |
parent | 7f581e1adf94e32c7ebfe4e5d00c6e9dd4d421a8 (diff) | |
download | ATCD-7ed68735a60e16eb4f6404c64aff412f6c09c1f4.tar.gz |
quick fix to poa.cpp
-rw-r--r-- | TAO/ChangeLog-98c | 5 | ||||
-rw-r--r-- | TAO/tao/poa.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index 567dc0457b9..595d8a78ea9 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,3 +1,8 @@ +Thu Jan 22 23:57:31 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu> + + * tao/poa.cpp (wstring_to_ObjectId): Stuck the CORBA::WChar type + in parens for sizeof...g++ likes it better that way. + Thu Jan 22 21:22:41 1998 Irfan Pyarali <irfan@cs.wustl.edu> * tao/poa: diff --git a/TAO/tao/poa.cpp b/TAO/tao/poa.cpp index e5bac93f28a..ea5787b9a64 100644 --- a/TAO/tao/poa.cpp +++ b/TAO/tao/poa.cpp @@ -2592,7 +2592,7 @@ TAO_POA::wstring_to_ObjectId (const wchar_t *id) CORBA::ULong id_length = ACE_OS::strlen (id) + 1; // Create the buffer for the Id - CORBA::Octet *buffer = PortableServer::ObjectId::allocbuf (id_length * sizeof CORBA::WChar); + CORBA::Octet *buffer = PortableServer::ObjectId::allocbuf (id_length * sizeof (CORBA::WChar)); // Copy contents ACE_OS::strcpy ((CORBA::WString) buffer, id); |