diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2007-08-06 18:18:07 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2007-08-06 18:18:07 +0000 |
commit | d89dfcf4782a82949d4f9aa4601264680c09b185 (patch) | |
tree | b1e3ada12787291b37952802dddb2d6ca2f1af7c /TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp | |
parent | f0fa54948e5b29669a927d153f536a7081ddd036 (diff) | |
download | ATCD-d89dfcf4782a82949d4f9aa4601264680c09b185.tar.gz |
ChangeLogTag: Mon Aug 6 18:17:55 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp b/TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp index b20ad264a12..62730cd01e0 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/Routing_Slip.cpp @@ -16,6 +16,7 @@ #include "tao/corba.h" #include "ace/Dynamic_Service.h" +#include "ace/Truncate.h" //#define DEBUG_LEVEL 9 #ifndef DEBUG_LEVEL @@ -819,7 +820,7 @@ Routing_Slip::marshal (TAO_OutputCDR & cdr) { size_t request_count = this->delivery_requests_.size(); cdr.write_ulong ( - static_cast<CORBA::ULong> (request_count - this->complete_requests_)); + ACE_Utils::truncate_cast<CORBA::ULong> (request_count - this->complete_requests_)); for (size_t nreq = 0; nreq < request_count; ++nreq) { Delivery_Request * request = this->delivery_requests_[nreq].get (); |