diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-17 20:15:51 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-17 20:15:51 +0000 |
commit | a7134170d5ebd96b05cea028894bfec71f55da61 (patch) | |
tree | f013f4fb4022aaec1ff540283b337aff6e19e058 /TAO/TAO_IDL/be/be_visitor_argument | |
parent | 809274607ec6fc2c350f1a8121645c2eeae74ae3 (diff) | |
download | ATCD-a7134170d5ebd96b05cea028894bfec71f55da61.tar.gz |
Minor fixes to get rid of warnings from BCB.
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_argument')
5 files changed, 8 insertions, 8 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp b/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp index dfb4cc09a39..2b9d7704120 100644 --- a/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp +++ b/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp @@ -245,7 +245,7 @@ int be_visitor_args_arglist::visit_string (be_string *node) { TAO_OutStream *os = this->ctx_->stream (); // get the stream - if (node->width () == sizeof (char)) + if (node->width () == (long) sizeof (char)) { switch (this->direction ()) { diff --git a/TAO/TAO_IDL/be/be_visitor_argument/invoke_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/invoke_cs.cpp index 0c93b2020ab..d805f8cab9b 100644 --- a/TAO/TAO_IDL/be/be_visitor_argument/invoke_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_argument/invoke_cs.cpp @@ -645,7 +645,7 @@ int be_visitor_args_invoke_cs::visit_string (be_string *node) case AST_Argument::dir_IN: break; case AST_Argument::dir_INOUT: - if (node->width () == sizeof (char)) + if (node->width () == (long) sizeof (char)) { *os << "CORBA::Any::to_string ("; } @@ -658,7 +658,7 @@ int be_visitor_args_invoke_cs::visit_string (be_string *node) << node->max_size ()->ev ()->u.ulval << ")"; break; case AST_Argument::dir_OUT: - if (node->width () == sizeof (char)) + if (node->width () == (long) sizeof (char)) { *os << "CORBA::Any::to_string ("; } diff --git a/TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp index dbd847397ec..b4dc39985b0 100644 --- a/TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp +++ b/TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp @@ -609,7 +609,7 @@ int be_visitor_args_marshal_ss::visit_string (be_string *node) } else { - if (node->width () == sizeof (char)) + if (node->width () == (long) sizeof (char)) { *os << "CORBA::Any::to_string ("; } @@ -652,7 +652,7 @@ int be_visitor_args_marshal_ss::visit_string (be_string *node) break; case AST_Argument::dir_INOUT: case AST_Argument::dir_OUT: - if (node->width () == sizeof (char)) + if (node->width () == (long) sizeof (char)) { *os << "CORBA::Any::from_string ((char *)"; } diff --git a/TAO/TAO_IDL/be/be_visitor_argument/post_invoke_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/post_invoke_cs.cpp index 5971d5b5615..114c6d7a992 100644 --- a/TAO/TAO_IDL/be/be_visitor_argument/post_invoke_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_argument/post_invoke_cs.cpp @@ -185,7 +185,7 @@ be_visitor_args_post_invoke_cs::visit_string (be_string *node) case AST_Argument::dir_INOUT: os->indent (); - if (node->width () == sizeof (char)) + if (node->width () == (long) sizeof (char)) { *os << "CORBA::string_free (" << arg->local_name () << ");" << be_nl; diff --git a/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp index 1759a21f25b..1886c07cb8f 100644 --- a/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp +++ b/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp @@ -352,7 +352,7 @@ int be_visitor_args_vardecl_ss::visit_string (be_string *node) case AST_Argument::dir_INOUT: os->indent (); - if (node->width () == sizeof (char)) + if (node->width () == (long) sizeof (char)) { *os << "CORBA::String_var " << arg->local_name () << ";\n"; } @@ -365,7 +365,7 @@ int be_visitor_args_vardecl_ss::visit_string (be_string *node) case AST_Argument::dir_OUT: os->indent (); - if (node->width () == sizeof (char)) + if (node->width () == (long )sizeof (char)) { *os << "CORBA::String_var " << arg->local_name () << ";\n"; } |