summaryrefslogtreecommitdiff
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2007-04-17 05:48:35 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2007-04-17 05:48:35 +0000
commit56398e39d70b88cea71faf575166ed2fbca6e2a6 (patch)
tree14df7605a8fd0afef8ec18e6e625302e2a162a54 /test/C++Frontend
parenteb913b6b34a81b95ea5f692b710e5766526853c6 (diff)
downloadllvm-56398e39d70b88cea71faf575166ed2fbca6e2a6.tar.gz
llvm-56398e39d70b88cea71faf575166ed2fbca6e2a6.tar.bz2
llvm-56398e39d70b88cea71faf575166ed2fbca6e2a6.tar.xz
Make it work on 64-bit systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36194 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r--test/C++Frontend/2005-01-03-StaticInitializers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/C++Frontend/2005-01-03-StaticInitializers.cpp b/test/C++Frontend/2005-01-03-StaticInitializers.cpp
index 0791d9fd83..da1b005cf4 100644
--- a/test/C++Frontend/2005-01-03-StaticInitializers.cpp
+++ b/test/C++Frontend/2005-01-03-StaticInitializers.cpp
@@ -4,5 +4,5 @@ struct S {
int A[2];
};
-int XX = (int)&(((struct S*)0)->A[1]);
+int XX = (int)(long)&(((struct S*)0)->A[1]);