projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix HashString's Bernstein hash to use unsigned chars, as is usually done.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
SparseBitVector.h
diff --git
a/include/llvm/ADT/SparseBitVector.h
b/include/llvm/ADT/SparseBitVector.h
index 89774c3f562833997812f1b0d747e289a3cdbbc7..791f1082c289fb5563237be8f9d0c500b721a1a8 100644
(file)
--- a/
include/llvm/ADT/SparseBitVector.h
+++ b/
include/llvm/ADT/SparseBitVector.h
@@
-158,7
+158,7
@@
public:
&& "Word Position outside of element");
// Mask off previous bits.
- Copy &= ~0L << BitPos;
+ Copy &= ~0
U
L << BitPos;
if (Copy != 0) {
if (sizeof(BitWord) == 4)