gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14411 - in gnunet/src: block include


From: gnunet
Subject: [GNUnet-SVN] r14411 - in gnunet/src: block include
Date: Tue, 15 Feb 2011 16:30:23 +0100

Author: grothoff
Date: 2011-02-15 16:30:23 +0100 (Tue, 15 Feb 2011)
New Revision: 14411

Modified:
   gnunet/src/block/block.c
   gnunet/src/include/gnunet_block_lib.h
Log:
use uint32_t for mutator

Modified: gnunet/src/block/block.c
===================================================================
--- gnunet/src/block/block.c    2011-02-15 15:30:06 UTC (rev 14410)
+++ gnunet/src/block/block.c    2011-02-15 15:30:23 UTC (rev 14411)
@@ -73,13 +73,13 @@
  */
 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);
 }

Modified: gnunet/src/include/gnunet_block_lib.h
===================================================================
--- gnunet/src/include/gnunet_block_lib.h       2011-02-15 15:30:06 UTC (rev 
14410)
+++ gnunet/src/include/gnunet_block_lib.h       2011-02-15 15:30:23 UTC (rev 
14411)
@@ -163,7 +163,7 @@
  */
 void
 GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in,
-                         int32_t mingle_number, 
+                         uint32_t mingle_number, 
                          GNUNET_HashCode * hc);
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]