diff options
author | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2012-08-22 09:13:39 +0000 |
---|---|---|
committer | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2012-08-22 09:13:39 +0000 |
commit | 8057aa4dcc7b6ded1104a608d238640c4cfc4be9 (patch) | |
tree | 385475ca54963dd0c2519a5b3c53356991ccbabf /TAO/orbsvcs/tests/Notify/lib/Options_Parser.cpp | |
parent | 4fa8807f5675b4c23bf644583247d528853918a4 (diff) | |
download | ATCD-8057aa4dcc7b6ded1104a608d238640c4cfc4be9.tar.gz |
Wed Aug 22 09:12:45 UTC 2012 Simon Massey <sma at prismtech dot com>
orbsvcs/tests/Notify/lib/Options_Parser.cpp: Missed a C+11 invalid type conversation warning.
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Options_Parser.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/lib/Options_Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Options_Parser.cpp b/TAO/orbsvcs/tests/Notify/lib/Options_Parser.cpp index 287c5407e3f..582dce71596 100644 --- a/TAO/orbsvcs/tests/Notify/lib/Options_Parser.cpp +++ b/TAO/orbsvcs/tests/Notify/lib/Options_Parser.cpp @@ -54,7 +54,7 @@ TAO_Notify_Tests_Options_Parser::execute (CosNotification::QoSProperties& qos, A { arg_shifter.consume_arg (); - int static_threads = 1; + CORBA::ULong static_threads = 1u; if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-Threads")) == 0) { @@ -62,7 +62,7 @@ TAO_Notify_Tests_Options_Parser::execute (CosNotification::QoSProperties& qos, A current_arg = arg_shifter.get_current (); - static_threads = ACE_OS::atoi (current_arg); + static_threads = static_cast<CORBA::ULong> (ACE_OS::atoi (current_arg)); arg_shifter.consume_arg (); } |