projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80697d1
)
Silence a warning on targets with unsigned chars.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 12 Nov 2009 17:59:45 +0000
(17:59 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 12 Nov 2009 17:59:45 +0000
(17:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87002
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/BasicBlock.h
patch
|
blob
|
history
diff --git
a/include/llvm/BasicBlock.h
b/include/llvm/BasicBlock.h
index ba4caeb96a529e1deda09e58ed0784e5d340a577..80d870272396cd2fe217db941fd8008fca54a64f 100644
(file)
--- a/
include/llvm/BasicBlock.h
+++ b/
include/llvm/BasicBlock.h
@@
-247,7
+247,7
@@
private:
/// almost never 2, and inconceivably 3 or more.
void AdjustBlockAddressRefCount(int Amt) {
SubclassData += Amt;
- assert((int)(char)SubclassData >= 0 && "Refcount wrap-around");
+ assert((int)(
signed
char)SubclassData >= 0 && "Refcount wrap-around");
}
};