diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-05-06 19:58:52 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-05-06 19:58:52 +0000 |
commit | aa06967ba5e23885bf44b93df5e5f2b1b21d6205 (patch) | |
tree | ee7c33fead3cf940364511123d283d519038a797 /TAO/orbsvcs/PSS/PSDL_Interface_Visitor.cpp | |
parent | af9ecb46401a9ef1bda640dfef6ac641324cd269 (diff) | |
download | ATCD-aa06967ba5e23885bf44b93df5e5f2b1b21d6205.tar.gz |
ChangeLogTag:Tue May 6 12:56:27 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs/PSS/PSDL_Interface_Visitor.cpp')
-rw-r--r-- | TAO/orbsvcs/PSS/PSDL_Interface_Visitor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/PSS/PSDL_Interface_Visitor.cpp b/TAO/orbsvcs/PSS/PSDL_Interface_Visitor.cpp index d37d9346385..883674d990f 100644 --- a/TAO/orbsvcs/PSS/PSDL_Interface_Visitor.cpp +++ b/TAO/orbsvcs/PSS/PSDL_Interface_Visitor.cpp @@ -511,7 +511,7 @@ TAO_PSDL_Interface_Visitor::print_end_for_interface (void) *ps_sh << "ACE_ENV_ARG_DECL_WITH_DEFAULTS"; ps_sh->nl (); *ps_sh << ");"; ps_sh->nl (); - *ps_sh << "virtual void *_tao_QueryInterface (ptr_arith_t type);"; ps_sh->nl (); + *ps_sh << "virtual void *_tao_QueryInterface (ptrdiff_t type);"; ps_sh->nl (); *ps_sh << "virtual const char* _interface_repository_id (void) const;"; ps_sh->nl (); @@ -1810,7 +1810,7 @@ TAO_PSDL_Interface_Visitor::gen_code_for_si (void) *ps_si << "("; ps_si->incr_indent (0); ps_si->nl (); - *ps_si << "ptr_arith_t,"; ps_si->nl (); + *ps_si << "ptrdiff_t,"; ps_si->nl (); *ps_si << "&" << this->interface_name_ << "::_tao_class_id"; ps_si->nl (); @@ -1894,7 +1894,7 @@ TAO_PSDL_Interface_Visitor::gen_code_for_si (void) ps_si->nl (); *ps_si << "void *" << this->interface_name_ - << "::_tao_QueryInterface (ptr_arith_t type)"; ps_si->nl (); + << "::_tao_QueryInterface (ptrdiff_t type)"; ps_si->nl (); *ps_si << "{"; ps_si->incr_indent (0); ps_si->nl (); @@ -1902,14 +1902,14 @@ TAO_PSDL_Interface_Visitor::gen_code_for_si (void) *ps_si << "if (type == ACE_reinterpret_cast"; ps_si->incr_indent (0); ps_si->nl (); - *ps_si << "(ptr_arith_t,"; ps_si->nl (); + *ps_si << "(ptrdiff_t,"; ps_si->nl (); *ps_si << "&" << this->interface_name_ << "::_tao_class_id))"; ps_si->nl (); *ps_si << "retv = ACE_reinterpret_cast (void*, this);"; ps_si->decr_indent (0); ps_si->nl (); *ps_si << "else if (type == ACE_reinterpret_cast " - << "(ptr_arith_t, &CORBA::Object::_tao_class_id))"; + << "(ptrdiff_t, &CORBA::Object::_tao_class_id))"; ps_si->incr_indent (0); ps_si->nl (); |