aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/datacache.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/datacache.c
parent7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff)
downloadgnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.tar.gz
gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.zip
use size_t
Diffstat (limited to 'src/datacache/datacache.c')
-rw-r--r--src/datacache/datacache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/datacache.c b/src/datacache/datacache.c
index 9c1a90bca..d2aa2616a 100644
--- a/src/datacache/datacache.c
+++ b/src/datacache/datacache.c
@@ -100,7 +100,7 @@ struct GNUNET_DATACACHE_Handle
100static void 100static void
101env_delete_notify (void *cls, 101env_delete_notify (void *cls,
102 const GNUNET_HashCode *key, 102 const GNUNET_HashCode *key,
103 uint32_t size) 103 size_t size)
104{ 104{
105 struct GNUNET_DATACACHE_Handle * h = cls; 105 struct GNUNET_DATACACHE_Handle * h = cls;
106 GNUNET_assert (h->utilization >= size); 106 GNUNET_assert (h->utilization >= size);
@@ -237,7 +237,7 @@ void GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h)
237int 237int
238GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, 238GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
239 const GNUNET_HashCode * key, 239 const GNUNET_HashCode * key,
240 uint32_t size, 240 size_t size,
241 const char *data, 241 const char *data,
242 enum GNUNET_BLOCK_Type type, 242 enum GNUNET_BLOCK_Type type,
243 struct GNUNET_TIME_Absolute discard_time) 243 struct GNUNET_TIME_Absolute discard_time)