diff options
Diffstat (limited to 'test/common/pack.h')
-rw-r--r-- | test/common/pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/pack.h b/test/common/pack.h index 724457f838..f62b31e9dc 100644 --- a/test/common/pack.h +++ b/test/common/pack.h @@ -15,7 +15,7 @@ struct TestStruct { #include <common/pack-end.h> // END STRUCT PACKING -#define OFFS(type,item) (((ptrdiff_t)(&((type*)42)->type::item))-42) +#define OFFS(type,item) (((ptrdiff_t)(&((type *)42)->type::item))-42) class PackTestSuite : public CxxTest::TestSuite { |