From: Christian Grothoff Date: Tue, 15 Feb 2011 15:30:23 +0000 (+0000) Subject: use uint32_t for mutator X-Git-Tag: initial-import-from-subversion-38251~19130 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=38d121662a466fd857e2da150833522d36130c52;p=oweals%2Fgnunet.git use uint32_t for mutator --- diff --git a/src/block/block.c b/src/block/block.c index bc597739e..24bde02ac 100644 --- a/src/block/block.c +++ b/src/block/block.c @@ -73,13 +73,13 @@ struct GNUNET_BLOCK_Context */ void GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in, - int32_t mingle_number, + uint32_t mingle_number, GNUNET_HashCode * hc) { GNUNET_HashCode m; GNUNET_CRYPTO_hash (&mingle_number, - sizeof (int32_t), + sizeof (uint32_t), &m); GNUNET_CRYPTO_hash_xor (&m, in, hc); } diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h index 21a58cd40..74ae2d322 100644 --- a/src/include/gnunet_block_lib.h +++ b/src/include/gnunet_block_lib.h @@ -163,7 +163,7 @@ struct GNUNET_BLOCK_Context; */ void GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in, - int32_t mingle_number, + uint32_t mingle_number, GNUNET_HashCode * hc);