diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-06 11:44:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-06 11:44:29 +0000 |
commit | b8da6057b2c0c66931ccde9b4bba418fc5222724 (patch) | |
tree | 1e858619686d7e2d38655f9f24bdc64e3e4e8462 /src/datacache/plugin_datacache_template.c | |
parent | 7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff) | |
download | gnunet-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.c | 4 |
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 | */ |
54 | static uint32_t | 54 | static size_t |
55 | template_plugin_put (void *cls, | 55 | template_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) |