Fix testcase for 64-bit systems.

llvm-svn: 59099
diff --git a/clang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c b/clang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
index e0364d1..746a2f3 100644
--- a/clang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
+++ b/clang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
@@ -12,12 +12,12 @@
 }
 
 int f1(int *a) {
-  int b = a - (int*) 1;
+  long b = a - (int*) 1;
   a -= (int*) 1;
-  return b == (int) a;
+  return b == (long) a;
 }
 
-int f2(int n) {
+int f2(long n) {
   int *b = n + (int*) 1;
   n += (int*) 1;
   return b == (int*) n;