Commit ac2a2d6f by Nathan Sidwell Committed by Nathan Sidwell

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

From-SVN: r56614
parent 2559486f
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.
......
......@@ -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)];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment