diff options
-rw-r--r-- | TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp b/TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp index 0df205d1dc7..2ed96b25d38 100644 --- a/TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp +++ b/TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp @@ -60,7 +60,7 @@ Nestea_i::crush (CORBA::Long cans, if (TAO_debug_level) ACE_DEBUG ((LM_DEBUG, "Nestea_i::crush %d cans\n", cans)); - if (cans > this->cans_) + if (ACE_static_cast (ACE_UINT32, cans) > this->cans_) this->cans_ = 0; else this->cans_ -= cans; |