From 38d121662a466fd857e2da150833522d36130c52 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 15 Feb 2011 15:30:23 +0000 Subject: [PATCH] use uint32_t for mutator --- src/block/block.c | 4 ++-- src/include/gnunet_block_lib.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); -- 2.25.1