From 7ed68735a60e16eb4f6404c64aff412f6c09c1f4 Mon Sep 17 00:00:00 2001 From: Chris Cleeland Date: Fri, 23 Jan 1998 06:06:35 +0000 Subject: quick fix to poa.cpp --- TAO/ChangeLog-98c | 5 +++++ TAO/tao/poa.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * 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 * 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); -- cgit v1.2.1