From: Christian Grothoff Date: Wed, 5 Oct 2011 08:34:36 +0000 (+0000) Subject: add GNUNET_PACKED X-Git-Tag: initial-import-from-subversion-38251~16803 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2e1efb58832578c2460a5586181b0ba321a341c3;p=oweals%2Fgnunet.git add GNUNET_PACKED --- diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index d1d559b77..e70d6c29e 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c @@ -148,7 +148,7 @@ struct GNUNET_NSE_FloodMessage /** * Number of hops this message has taken so far. */ - uint32_t hop_count; + uint32_t hop_count GNUNET_PACKED; /** * Purpose. @@ -166,7 +166,7 @@ struct GNUNET_NSE_FloodMessage * of timestamp and the initiator's public * key. */ - uint32_t matching_bits; + uint32_t matching_bits GNUNET_PACKED; /** * Public key of the originator. @@ -176,7 +176,7 @@ struct GNUNET_NSE_FloodMessage /** * Proof of work, causing leading zeros when hashed with pkey. */ - uint64_t proof_of_work; + uint64_t proof_of_work GNUNET_PACKED; /** * Signature (over range specified in purpose).