summaryrefslogtreecommitdiffstats
path: root/Source/cmELF.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmELF.cxx')
-rw-r--r--Source/cmELF.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx
index 083470c..3dff59c 100644
--- a/Source/cmELF.cxx
+++ b/Source/cmELF.cxx
@@ -884,8 +884,8 @@ cmELF::StringEntry const* cmELF::GetSOName()
cmELF::StringEntry const* cmELF::GetRPath()
{
if(this->Valid() &&
- this->Internal->GetFileType() == cmELF::FileTypeExecutable ||
- this->Internal->GetFileType() == cmELF::FileTypeSharedLibrary)
+ (this->Internal->GetFileType() == cmELF::FileTypeExecutable ||
+ this->Internal->GetFileType() == cmELF::FileTypeSharedLibrary))
{
return this->Internal->GetRPath();
}
@@ -899,8 +899,8 @@ cmELF::StringEntry const* cmELF::GetRPath()
cmELF::StringEntry const* cmELF::GetRunPath()
{
if(this->Valid() &&
- this->Internal->GetFileType() == cmELF::FileTypeExecutable ||
- this->Internal->GetFileType() == cmELF::FileTypeSharedLibrary)
+ (this->Internal->GetFileType() == cmELF::FileTypeExecutable ||
+ this->Internal->GetFileType() == cmELF::FileTypeSharedLibrary))
{
return this->Internal->GetRunPath();
}