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/datacache.c | |
parent | 7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff) | |
download | gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.tar.gz gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.zip |
use size_t
Diffstat (limited to 'src/datacache/datacache.c')
-rw-r--r-- | src/datacache/datacache.c | 4 |
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 | |||
100 | static void | 100 | static void |
101 | env_delete_notify (void *cls, | 101 | env_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) | |||
237 | int | 237 | int |
238 | GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, | 238 | GNUNET_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) |