* g++.dg/other/offsetof1.C: Avoid cast warning.

From-SVN: r56614
This commit is contained in:
Nathan Sidwell 2002-08-27 20:55:17 +00:00 committed by Nathan Sidwell
parent 2559486f3e
commit ac2a2d6f2f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-08-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/offsetof1.C: Avoid cast warning.
2002-08-26 Ziemowit Laski <zlaski@apple.com>
* objc.dg/super-class-2.m: New test.

View File

@ -11,4 +11,4 @@ struct F
char j;
};
static int ary[((unsigned) &((struct F *)0)->j)];
static int ary[((__SIZE_TYPE__)&((struct F *)0)->j)];