summaryrefslogtreecommitdiff
path: root/ACE/ace
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2011-12-29 17:29:37 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2011-12-29 17:29:37 +0000
commitc96a9c04ba1a85ba4b3da881b9d50913900dab03 (patch)
treeec1c416e4c3201d7ca799c18b0eaa190cea74068 /ACE/ace
parentba0edb144b5119b911045a34376e6680e0f76a49 (diff)
downloadATCD-c96a9c04ba1a85ba4b3da881b9d50913900dab03.tar.gz
ChangeLogTag:Thu
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_);