fixing segv
[oweals/gnunet.git] / src / datacache / plugin_datacache_mysql.c
index a85e9f48023404c9107df14f1d5a92cbbddeab21..8241fb5f85af2d9ae1bccd02e0356c3b2bed71a9 100644 (file)
@@ -721,10 +721,10 @@ itable (struct Plugin *plugin)
  * @param discard_time when to discard the value in any case
  * @return 0 on error, number of bytes used otherwise
  */
-static uint32_t 
+static size_t 
 mysql_plugin_put (void *cls,
                  const GNUNET_HashCode * key,
-                 uint32_t size,
+                 size_t size,
                  const char *data,
                  enum GNUNET_BLOCK_Type type,
                  struct GNUNET_TIME_Absolute discard_time)