diff options
author | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-25 02:18:41 +0000 |
---|---|---|
committer | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-25 02:18:41 +0000 |
commit | 4f6fe2482908af2e961fd0520f4c90927b83bb66 (patch) | |
tree | d846509e8187c80652d4b745c6ec0003c210640b /ace/Caching_Utility_T.cpp | |
parent | ac41dec8fce55dbe4f7d67e1852f56518b96356a (diff) | |
download | ATCD-4f6fe2482908af2e961fd0520f4c90927b83bb66.tar.gz |
typecast problems resolved
Diffstat (limited to 'ace/Caching_Utility_T.cpp')
-rw-r--r-- | ace/Caching_Utility_T.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Caching_Utility_T.cpp b/ace/Caching_Utility_T.cpp index 7fd761b12a8..455f336fa7f 100644 --- a/ace/Caching_Utility_T.cpp +++ b/ace/Caching_Utility_T.cpp @@ -38,7 +38,7 @@ ACE_Pair_Caching_Utility<KEY, VALUE, CONTAINER, ITERATOR, ATTRIBUTES>::clear_cac // Calculate the no of entries to remove from the cache depending // upon the <purge_percent>. - size_t entries_to_remove = (purge_percent / 100 * current_map_size) + 0.5; + size_t entries_to_remove = size_t ((double (purge_percent) / 100 * current_map_size) + 0.5); KEY *key_to_remove = 0; VALUE *value_to_remove = 0; |