summaryrefslogtreecommitdiff
path: root/ace/Malloc_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Malloc_T.cpp')
-rw-r--r--ace/Malloc_T.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Malloc_T.cpp b/ace/Malloc_T.cpp
index ee524474e9f..139e0f624be 100644
--- a/ace/Malloc_T.cpp
+++ b/ace/Malloc_T.cpp
@@ -462,7 +462,7 @@ ACE_Malloc<ACE_MEM_POOL_2, LOCK>::find (const char *name, void *&pointer)
// @return function returns the number of chunks of the given size
// that would fit in the currently allocated memory
-template <ACE_MEM_POOL_1, class LOCK> size_t
+template <ACE_MEM_POOL_1, class LOCK> ssize_t
ACE_Malloc<ACE_MEM_POOL_2, LOCK>::avail_chunks (size_t size) const
{
ACE_TRACE ("ACE_Malloc<ACE_MEM_POOL_2, LOCK>::avail_chunks");