aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_postgres.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_postgres.c
parent7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff)
downloadgnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.tar.gz
gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.zip
use size_t
Diffstat (limited to 'src/datacache/plugin_datacache_postgres.c')
-rw-r--r--src/datacache/plugin_datacache_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c
index fcd9e5161..c9d6deaaa 100644
--- a/src/datacache/plugin_datacache_postgres.c
+++ b/src/datacache/plugin_datacache_postgres.c
@@ -301,10 +301,10 @@ delete_by_rowid (struct Plugin *plugin,
301 * @param discard_time when to discard the value in any case 301 * @param discard_time when to discard the value in any case
302 * @return 0 on error, number of bytes used otherwise 302 * @return 0 on error, number of bytes used otherwise
303 */ 303 */
304static uint32_t 304static size_t
305postgres_plugin_put (void *cls, 305postgres_plugin_put (void *cls,
306 const GNUNET_HashCode * key, 306 const GNUNET_HashCode * key,
307 uint32_t size, 307 size_t size,
308 const char *data, 308 const char *data,
309 enum GNUNET_BLOCK_Type type, 309 enum GNUNET_BLOCK_Type type,
310 struct GNUNET_TIME_Absolute discard_time) 310 struct GNUNET_TIME_Absolute discard_time)