summaryrefslogtreecommitdiff
path: root/ACE/ace
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace')
-rw-r--r--ACE/ace/Mem_Map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Mem_Map.cpp b/ACE/ace/Mem_Map.cpp
index cc5fba9c519..614d1842309 100644
--- a/ACE/ace/Mem_Map.cpp
+++ b/ACE/ace/Mem_Map.cpp
@@ -88,7 +88,7 @@ ACE_Mem_Map::map_it (ACE_HANDLE handle,
else if ((current_file_type.st_mode & S_IFMT) == S_IFCHR)
// Set length to length_request
this->length_ = length_request;
- else if (current_file_type.st_mode & S_IFMT) == S_IFREG)
+ else if ((current_file_type.st_mode & S_IFMT) == S_IFREG)
{
// Get the current filesize
ACE_OFF_T const current_file_length = ACE_OS::filesize (this->handle_);