Lexer.cpp: Fix a warning with ptrdiff_t on i686. [-Wsign-compare]

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173447 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp
index 74efcfb..429780e 100644
--- a/lib/Lex/Lexer.cpp
+++ b/lib/Lex/Lexer.cpp
@@ -2749,7 +2749,7 @@
 
   if (Result) {
     Result->setFlag(Token::HasUCN);
-    if (CurPtr - StartPtr == NumHexDigits + 2)
+    if (CurPtr - StartPtr == (ptrdiff_t)NumHexDigits + 2)
       StartPtr = CurPtr;
     else
       while (StartPtr != CurPtr)