summaryrefslogtreecommitdiff
path: root/lib/Archive/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2004-12-20 03:23:46 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2004-12-20 03:23:46 +0000
commite1337210475d13ed44eb3c9e4dceaf0781e126f4 (patch)
tree08283ed1baf9033a2fb544228846bae8c8c5bef7 /lib/Archive/ArchiveWriter.cpp
parent721d9aa06043bf59efe17443cdee418982bd55ac (diff)
Fix problems uncovered by VC++ (first time compiled by VC++)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Archive/ArchiveWriter.cpp')
-rw-r--r--lib/Archive/ArchiveWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Archive/ArchiveWriter.cpp b/lib/Archive/ArchiveWriter.cpp
index 58e785384cf..5c7b1263204 100644
--- a/lib/Archive/ArchiveWriter.cpp
+++ b/lib/Archive/ArchiveWriter.cpp
@@ -293,7 +293,7 @@ Archive::writeMember(
ARFile.write(data,fSize);
// Make sure the member is an even length
- if (ARFile.tellp() & 1 == 1)
+ if ((ARFile.tellp() & 1) == 1)
ARFile << ARFILE_PAD;
// Free the compressed data, if necessary