diff options
author | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-20 18:33:53 +0000 |
---|---|---|
committer | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-20 18:33:53 +0000 |
commit | fe1cf3782b2ad52ae04d601da85406e482afe509 (patch) | |
tree | 18aa43f9d7cca62a8ea5cde2edc40ae045b0e870 /ace | |
parent | 5c66dcbecc6b4d488128cd3a32189f8994275450 (diff) | |
download | ATCD-fe1cf3782b2ad52ae04d601da85406e482afe509.tar.gz |
ssize_t had to be chanegd to size_t
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Caching_Utility_T.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Caching_Utility_T.cpp b/ace/Caching_Utility_T.cpp index 972f361a4af..0f4f98a18b2 100644 --- a/ace/Caching_Utility_T.cpp +++ b/ace/Caching_Utility_T.cpp @@ -157,7 +157,7 @@ ACE_Recyclable_Handler_Caching_Utility<KEY, VALUE, CONTAINER, ITERATOR, ATTRIBUT // upon the <purge_percent>. size_t entries_to_remove = ACE_MAX (ACE_static_cast (size_t, 1), - ACE_static_cast(ssize_t, + ACE_static_cast(size_t, ACE_static_cast(double, purge_percent) / 100 * current_map_size)); @@ -277,7 +277,7 @@ ACE_Refcounted_Recyclable_Handler_Caching_Utility<KEY, VALUE, CONTAINER, ITERATO // upon the <purge_percent>. size_t entries_to_remove = ACE_MAX (ACE_static_cast (size_t, 1), - ACE_static_cast(ssize_t, + ACE_static_cast(size_t, ACE_static_cast(double, purge_percent) / 100 * available_entries)); @@ -402,7 +402,7 @@ ACE_Handler_Caching_Utility<KEY, VALUE, CONTAINER, ITERATOR, ATTRIBUTES>::clear_ // upon the <purge_percent>. size_t entries_to_remove = ACE_MAX (ACE_static_cast (size_t, 1), - ACE_static_cast(ssize_t, + ACE_static_cast(size_t, ACE_static_cast(double, purge_percent) / 100 * current_map_size)); |