Fix warning in Altivec code when building with GCC 4.8.2 on Ubuntu 14.04.

llvm-svn: 220855
This commit is contained in:
Jay Foad 2014-10-29 14:42:12 +00:00
parent 95338a09c0
commit 6af95d3864
1 changed files with 1 additions and 1 deletions

View File

@ -2319,7 +2319,7 @@ bool Lexer::SkipBlockComment(Token &Result, const char *CurPtr,
'/', '/', '/', '/', '/', '/', '/', '/'
};
while (CurPtr+16 <= BufferEnd &&
!vec_any_eq(*(vector unsigned char*)CurPtr, Slashes))
!vec_any_eq(*(const vector unsigned char*)CurPtr, Slashes))
CurPtr += 16;
#else
// Scan for '/' quickly. Many block comments are very large.