summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-14 01:57:17 +0000
committerChris Lattner <sabre@nondot.org>2010-07-14 01:57:17 +0000
commitb09a97e5653c2c391f8759ad6a966a15a0c4168a (patch)
tree068a448eee9a6d365bd5e7387ce8bfe984b22abc
parentdb8980903717e1127463f00a34cae9bd29f82a91 (diff)
downloadllvm-b09a97e5653c2c391f8759ad6a966a15a0c4168a.tar.gz
llvm-b09a97e5653c2c391f8759ad6a966a15a0c4168a.tar.bz2
llvm-b09a97e5653c2c391f8759ad6a966a15a0c4168a.tar.xz
fix a bug found by a warning I added to clang this morning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108309 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PIC16/PIC16DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16DebugInfo.cpp b/lib/Target/PIC16/PIC16DebugInfo.cpp
index 6a4d0d6271..7a948def3c 100644
--- a/lib/Target/PIC16/PIC16DebugInfo.cpp
+++ b/lib/Target/PIC16/PIC16DebugInfo.cpp
@@ -416,7 +416,7 @@ void PIC16DbgInfo::EmitAuxEntry(const std::string VarName, int Aux[], int Num,
if (!TagName.empty()) Tmp += ", " + TagName;
for (int i = 0; i<Num; i++)
- Tmp += "," + utostr(Aux[i] && 0xff);
+ Tmp += "," + utostr(Aux[i] & 0xff);
OS.EmitRawText("\n\t.dim " + Twine(VarName) + ", 1" + Tmp);
}