summaryrefslogtreecommitdiff
path: root/ACE/ace/Filecache.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2006-10-27 18:51:37 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2006-10-27 18:51:37 +0000
commit6c8263b5200f6c70d22149730e86550e34fca7e4 (patch)
tree5d4535e893921882b2df16f2c3dd9a2bd88d79df /ACE/ace/Filecache.cpp
parente940ecd4aaa289c47910513da6f6c12e61259605 (diff)
downloadATCD-6c8263b5200f6c70d22149730e86550e34fca7e4.tar.gz
ChangeLogTag:Fri Oct 27 19:48:23 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/ace/Filecache.cpp')
-rw-r--r--ACE/ace/Filecache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Filecache.cpp b/ACE/ace/Filecache.cpp
index 1057328762a..39b0478ea65 100644
--- a/ACE/ace/Filecache.cpp
+++ b/ACE/ace/Filecache.cpp
@@ -540,7 +540,7 @@ ACE_Filecache_Object::ACE_Filecache_Object (const ACE_TCHAR *filename,
if (mapit)
{
// Can we map the file?
- if (this->mmap_.map (this->handle_, -1,
+ if (this->mmap_.map (this->handle_, static_cast<size_t> (-1),
PROT_READ, ACE_MAP_PRIVATE, 0, 0, this->sa_) != 0)
{
this->error_i (ACE_Filecache_Object::ACE_MEMMAP_FAILED,