diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-04-16 19:18:28 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-04-16 19:18:28 +0100 |
commit | 458e396ceb34f4eaf70182f5a08b4bf546cd3a24 (patch) | |
tree | 0110d89ddda2222ff2cb3346a0cf00bfad18d62c | |
parent | 7832cbc2b97d64de5e386b7c3b59022ee3797b8a (diff) | |
download | ATCD-458e396ceb34f4eaf70182f5a08b4bf546cd3a24.tar.gz |
Fixed 64bit conversion warnings on Windows
-rw-r--r-- | TAO/orbsvcs/FTRT_Event_Service/Event_Service/FT_EventService.cpp | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/FTRT_Event_Service/Factory_Service/EventChannelFactory_i.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/FT_EventService.cpp b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/FT_EventService.cpp index 389059de415..179afa5da9f 100644 --- a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/FT_EventService.cpp +++ b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/FT_EventService.cpp @@ -248,7 +248,7 @@ FT_EventService::report_factory(CORBA::ORB_ptr orb, ORBSVCS_DEBUG((LM_DEBUG,"Factory connected\n")); CORBA::String_var my_ior_string = orb->object_to_string(ec); - int len = ACE_OS::strlen(my_ior_string.in()) ; + size_t const len = ACE_OS::strlen(my_ior_string.in()) ; if (stream.send_n(my_ior_string.in(), len) != len) ORBSVCS_ERROR_RETURN((LM_ERROR, "(%P|%t) IOR Transmission Error\n"), -1); diff --git a/TAO/orbsvcs/FTRT_Event_Service/Factory_Service/EventChannelFactory_i.cpp b/TAO/orbsvcs/FTRT_Event_Service/Factory_Service/EventChannelFactory_i.cpp index 2c4ee830c36..aeb2d6bfb1c 100644 --- a/TAO/orbsvcs/FTRT_Event_Service/Factory_Service/EventChannelFactory_i.cpp +++ b/TAO/orbsvcs/FTRT_Event_Service/Factory_Service/EventChannelFactory_i.cpp @@ -106,7 +106,7 @@ CORBA::Object_ptr EventChannelFactory_i::create_process ( options.setenv(ACE_TEXT("EventChannelFactoryAddr"), buf); // extract the object ID from the criteria - for (size_t i = 0; i < the_criteria.length(); ++i) + for (CORBA::ULong i = 0; i < the_criteria.length(); ++i) { const CosNaming::Name& name = the_criteria[i].nam; if (name.length() > 0) { |