fixing issue pointed out by amatus
[oweals/gnunet.git] / src / datacache / plugin_datacache_postgres.c
index fcd9e516138571c8faa6aa4e04a0ff6fc2ddc07d..c9d6deaaa565149fb0d530b352bbe5fd6aa0da33 100644 (file)
@@ -301,10 +301,10 @@ delete_by_rowid (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 
 postgres_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)