diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-22 03:14:24 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-22 03:14:24 +0000 |
commit | cf81b6557cc15620cde875ac8b0b8f1f9708d8a0 (patch) | |
tree | 2bd1e076c38b182511ad8395aaf7576dd9d6c585 /TAO/orbsvcs/orbsvcs/Event | |
parent | 1953ded161976f33b5f18fae1d443cdbe1589a01 (diff) | |
download | ATCD-cf81b6557cc15620cde875ac8b0b8f1f9708d8a0.tar.gz |
ChangeLogTag: Fri Nov 21 21:05:32 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_Gateway.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_Gateway.cpp b/TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_Gateway.cpp index fe1f9aa8da7..2517624bbfb 100644 --- a/TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_Gateway.cpp +++ b/TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_Gateway.cpp @@ -151,7 +151,8 @@ TAO_ECG_Mcast_Gateway::init (int argc, char* argv[]) if (arg_shifter.is_parameter_next ()) { const char* opt = arg_shifter.get_current (); - this->ttl_value_ = ACE_OS::strtoul(opt, 0, 0) & 0xff; + unsigned long tmp = ACE_OS::strtoul (opt, 0, 0) & 0xff; + this->ttl_value_ = ACE_static_cast (u_char, tmp); arg_shifter.consume_arg (); } } |