From 02f21c08e22a6b04030b4eb990fa5046e79e00b3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 22 Nov 2009 13:52:31 +0000 Subject: [PATCH] fix type --- src/util/container_meta_data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/container_meta_data.c b/src/util/container_meta_data.c index ebf6ce778..912ac2684 100644 --- a/src/util/container_meta_data.c +++ b/src/util/container_meta_data.c @@ -435,7 +435,7 @@ struct MetaDataHeader 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 @@ GNUNET_CONTAINER_meta_data_serialize (const struct GNUNET_CONTAINER_MetaData 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; -- 2.25.1