aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_template.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-06 11:44:29 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-06 11:44:29 +0000
commitb8da6057b2c0c66931ccde9b4bba418fc5222724 (patch)
tree1e858619686d7e2d38655f9f24bdc64e3e4e8462 /src/datacache/plugin_datacache_template.c
parent7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff)
downloadgnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.tar.gz
gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.zip
use size_t
Diffstat (limited to 'src/datacache/plugin_datacache_template.c')
-rw-r--r--src/datacache/plugin_datacache_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_template.c b/src/datacache/plugin_datacache_template.c
index 4ebf72661..25e4c9a42 100644
--- a/src/datacache/plugin_datacache_template.c
+++ b/src/datacache/plugin_datacache_template.c
@@ -51,10 +51,10 @@ struct Plugin
51 * @param discard_time when to discard the value in any case 51 * @param discard_time when to discard the value in any case
52 * @return 0 on error, number of bytes used otherwise 52 * @return 0 on error, number of bytes used otherwise
53 */ 53 */
54static uint32_t 54static size_t
55template_plugin_put (void *cls, 55template_plugin_put (void *cls,
56 const GNUNET_HashCode * key, 56 const GNUNET_HashCode * key,
57 uint32_t size, 57 size_t size,
58 const char *data, 58 const char *data,
59 enum GNUNET_BLOCK_Type type, 59 enum GNUNET_BLOCK_Type type,
60 struct GNUNET_TIME_Absolute discard_time) 60 struct GNUNET_TIME_Absolute discard_time)