gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9624 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r9624 - gnunet/src/util
Date: Sun, 22 Nov 2009 06:52:31 -0700

Author: grothoff
Date: 2009-11-22 06:52:31 -0700 (Sun, 22 Nov 2009)
New Revision: 9624

Modified:
   gnunet/src/util/container_meta_data.c
Log:
fix type

Modified: gnunet/src/util/container_meta_data.c
===================================================================
--- gnunet/src/util/container_meta_data.c       2009-11-22 13:48:56 UTC (rev 
9623)
+++ gnunet/src/util/container_meta_data.c       2009-11-22 13:52:31 UTC (rev 
9624)
@@ -435,7 +435,7 @@
   uint32_t size;
 
   /**
-   * This is followed by 'entries' values of type 'unsigned int' that
+   * This is followed by 'entries' values of type 'uint32_t' that
    * correspond to EXTRACTOR_KeywordTypes.  After that, the meta-data
    * keywords follow (0-terminated).  The MD block always ends with
    * 0-termination, padding with 0 until a multiple of 8 bytes.
@@ -488,7 +488,7 @@
       for (i = 0; i < ic; i++)
         ((uint32_t *) & hdr[1])[i] = htonl ((uint32_t) md->items[i].type);
       pos = sizeof (struct MetaDataHeader);
-      pos += sizeof (unsigned int) * ic;
+      pos += sizeof (uint32_t) * ic;
       for (i = 0; i < ic; i++)
         {
           len = strlen (md->items[i].data) + 1;





reply via email to

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