diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
commit | c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac (patch) | |
tree | 02e313a83c4416f07fadf650d33aff09dfe46130 /src/ats-test | |
parent | 40e5092e9a5db88b4c9b62cb341596fbf6ce1cf8 (diff) | |
download | gnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.tar.gz gnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.zip |
fixing 2012: network structure alignment now forced to be correct even on W32 using #pragma pack from gcc 4.x
Diffstat (limited to 'src/ats-test')
-rw-r--r-- | src/ats-test/test_transport_ats_multiple_peers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ats-test/test_transport_ats_multiple_peers.c b/src/ats-test/test_transport_ats_multiple_peers.c index 51b813725..e9d0baf25 100644 --- a/src/ats-test/test_transport_ats_multiple_peers.c +++ b/src/ats-test/test_transport_ats_multiple_peers.c | |||
@@ -68,11 +68,14 @@ struct TEST_result | |||
68 | uint64_t state; | 68 | uint64_t state; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | GNUNET_NETWORK_STRUCT_BEGIN | ||
72 | |||
71 | struct TestMessage | 73 | struct TestMessage |
72 | { | 74 | { |
73 | struct GNUNET_MessageHeader header; | 75 | struct GNUNET_MessageHeader header; |
74 | uint32_t num; | 76 | uint32_t num; |
75 | }; | 77 | }; |
78 | GNUNET_NETWORK_STRUCT_END | ||
76 | 79 | ||
77 | 80 | ||
78 | static int count; | 81 | static int count; |