diff options
Diffstat (limited to 'TAO/orbsvcs/IFR_Service/be_init.cpp')
-rw-r--r-- | TAO/orbsvcs/IFR_Service/be_init.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/orbsvcs/IFR_Service/be_init.cpp b/TAO/orbsvcs/IFR_Service/be_init.cpp index e6827113322..017c1402ec3 100644 --- a/TAO/orbsvcs/IFR_Service/be_init.cpp +++ b/TAO/orbsvcs/IFR_Service/be_init.cpp @@ -31,8 +31,8 @@ BE_save_orb_args (int &argc, char *argv[]) // If the arg ends with either .idl or .pidl, we're done. - size_t len = tmp.length (); - ssize_t pos = tmp.find (".idl"); + int len = static_cast<int> (tmp.length ()); + int pos = tmp.find (".idl"); if (len - pos == 4) { @@ -56,7 +56,7 @@ BE_save_orb_args (int &argc, char *argv[]) ++i; } } - + be_global->orb_args (holder); return 0; @@ -103,14 +103,14 @@ TAO_IFR_BE_Export int BE_init (int &argc, char *argv[]) { int status = BE_save_orb_args (argc, argv); - + if (status != 0) { return status; } - + idl_global->using_ifr_backend (true); - + return BE_ifr_orb_init (argc, argv); } |