aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-02-15 15:30:23 +0000
committerChristian Grothoff <christian@grothoff.org>2011-02-15 15:30:23 +0000
commit38d121662a466fd857e2da150833522d36130c52 (patch)
tree812608168b33f4b0ba797038ce339bedef770547 /src
parentd5c5c5b962115be085a1cc71a0480d7e2a3eda73 (diff)
downloadgnunet-38d121662a466fd857e2da150833522d36130c52.tar.gz
gnunet-38d121662a466fd857e2da150833522d36130c52.zip
use uint32_t for mutator
Diffstat (limited to 'src')
-rw-r--r--src/block/block.c4
-rw-r--r--src/include/gnunet_block_lib.h2
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
73 */ 73 */
74void 74void
75GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in, 75GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in,
76 int32_t mingle_number, 76 uint32_t mingle_number,
77 GNUNET_HashCode * hc) 77 GNUNET_HashCode * hc)
78{ 78{
79 GNUNET_HashCode m; 79 GNUNET_HashCode m;
80 80
81 GNUNET_CRYPTO_hash (&mingle_number, 81 GNUNET_CRYPTO_hash (&mingle_number,
82 sizeof (int32_t), 82 sizeof (uint32_t),
83 &m); 83 &m);
84 GNUNET_CRYPTO_hash_xor (&m, in, hc); 84 GNUNET_CRYPTO_hash_xor (&m, in, hc);
85} 85}
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;
163 */ 163 */
164void 164void
165GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in, 165GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in,
166 int32_t mingle_number, 166 uint32_t mingle_number,
167 GNUNET_HashCode * hc); 167 GNUNET_HashCode * hc);
168 168
169 169