commit | 56398e39d70b88cea71faf575166ed2fbca6e2a6 | [log] [tgz] |
---|---|---|
author | Jeff Cohen <jeffc@jolt-lang.org> | Tue Apr 17 05:48:35 2007 +0000 |
committer | Jeff Cohen <jeffc@jolt-lang.org> | Tue Apr 17 05:48:35 2007 +0000 |
tree | 14df7605a8fd0afef8ec18e6e625302e2a162a54 | |
parent | eb913b6b34a81b95ea5f692b710e5766526853c6 [diff] [blame] |
Make it work on 64-bit systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36194 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/C++Frontend/2005-01-03-StaticInitializers.cpp b/test/C++Frontend/2005-01-03-StaticInitializers.cpp index 0791d9f..da1b005 100644 --- a/test/C++Frontend/2005-01-03-StaticInitializers.cpp +++ b/test/C++Frontend/2005-01-03-StaticInitializers.cpp
@@ -4,5 +4,5 @@ int A[2]; }; -int XX = (int)&(((struct S*)0)->A[1]); +int XX = (int)(long)&(((struct S*)0)->A[1]);