Make it work on 64-bit systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36194 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2007-04-17 05:48:35 +00:00
parent eb913b6b34
commit 56398e39d7

View File

@ -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]);