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/transport/test_quota_compliance.c | |
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/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index 1742dd0d3..5d9cfff19 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -104,11 +104,14 @@ static GNUNET_TRANSPORT_TESTING_ConnectRequest cc; | |||
104 | 104 | ||
105 | #define MTYPE 12345 | 105 | #define MTYPE 12345 |
106 | 106 | ||
107 | GNUNET_NETWORK_STRUCT_BEGIN | ||
108 | |||
107 | struct TestMessage | 109 | struct TestMessage |
108 | { | 110 | { |
109 | struct GNUNET_MessageHeader header; | 111 | struct GNUNET_MessageHeader header; |
110 | uint32_t num; | 112 | uint32_t num; |
111 | }; | 113 | }; |
114 | GNUNET_NETWORK_STRUCT_END | ||
112 | 115 | ||
113 | static int msg_scheduled; | 116 | static int msg_scheduled; |
114 | static int msg_sent; | 117 | static int msg_sent; |