Make it work on 64-bit systems.

llvm-svn: 36194
This commit is contained in:
Jeff Cohen 2007-04-17 05:48:35 +00:00
parent 38be56ddf5
commit 8e84687350
1 changed files with 1 additions and 1 deletions

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