Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-llvm: Commit

external/llvm


Commit MetaInfo

Révision7b85abc54e3b65014d72ce8b57dbfba99681624a (tree)
l'heure2013-02-23 22:56:47
AuteurGalina Kistanova <gkistanova@gmai...>
CommiterChih-Wei Huang

Message de Log

Fixed few warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160192 91177308-0d34-0410-b5e6-96231b3b80d8

Change Summary

Modification

--- a/include/llvm/ADT/PointerUnion.h
+++ b/include/llvm/ADT/PointerUnion.h
@@ -54,8 +54,8 @@ namespace llvm {
5454 static inline void *getAsVoidPointer(void *P) { return P; }
5555 static inline void *getFromVoidPointer(void *P) { return P; }
5656 enum {
57- PT1BitsAv = PointerLikeTypeTraits<PT1>::NumLowBitsAvailable,
58- PT2BitsAv = PointerLikeTypeTraits<PT2>::NumLowBitsAvailable,
57+ PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable),
58+ PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable),
5959 NumLowBitsAvailable = PT1BitsAv < PT2BitsAv ? PT1BitsAv : PT2BitsAv
6060 };
6161 };
Afficher sur ancien navigateur de dépôt.