Skip to content

Commit

Permalink
Fixed few warnings.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160192 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
gkistanova committed Jul 13, 2012
1 parent 68c10a2 commit b76fb96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/llvm/ADT/PointerUnion.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ namespace llvm {
static inline void *getAsVoidPointer(void *P) { return P; }
static inline void *getFromVoidPointer(void *P) { return P; }
enum {
PT1BitsAv = PointerLikeTypeTraits<PT1>::NumLowBitsAvailable,
PT2BitsAv = PointerLikeTypeTraits<PT2>::NumLowBitsAvailable,
PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable),
PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable),
NumLowBitsAvailable = PT1BitsAv < PT2BitsAv ? PT1BitsAv : PT2BitsAv
};
};
Expand Down

0 comments on commit b76fb96

Please sign in to comment.