aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_sqlite.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_sqlite.c
parent7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff)
downloadgnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.tar.gz
gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.zip
use size_t
Diffstat (limited to 'src/datacache/plugin_datacache_sqlite.c')
-rw-r--r--src/datacache/plugin_datacache_sqlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_sqlite.c b/src/datacache/plugin_datacache_sqlite.c
index 8c144baa2..5c304bd8a 100644
--- a/src/datacache/plugin_datacache_sqlite.c
+++ b/src/datacache/plugin_datacache_sqlite.c
@@ -94,10 +94,10 @@ sq_prepare (sqlite3 * dbh, const char *zSql, /* SQL statement, UTF-8 encoded
94 * @param discard_time when to discard the value in any case 94 * @param discard_time when to discard the value in any case
95 * @return 0 on error, number of bytes used otherwise 95 * @return 0 on error, number of bytes used otherwise
96 */ 96 */
97static uint32_t 97static size_t
98sqlite_plugin_put (void *cls, 98sqlite_plugin_put (void *cls,
99 const GNUNET_HashCode * key, 99 const GNUNET_HashCode * key,
100 uint32_t size, 100 size_t size,
101 const char *data, 101 const char *data,
102 enum GNUNET_BLOCK_Type type, 102 enum GNUNET_BLOCK_Type type,
103 struct GNUNET_TIME_Absolute discard_time) 103 struct GNUNET_TIME_Absolute discard_time)