summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 11:59:45 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 11:59:45 +0200
commitd07fba1140760a4652e0acce0ad3cfd854da984e (patch)
tree7aa004794b6a9aed1a034da095ef2765d498c71d
parentb089b3c07cb9a38f18e58225d93e1335f24ced17 (diff)
more warnings
-rw-r--r--src/gns/gnunet-dns2gns.c2
-rw-r--r--src/gns/gnunet-service-gns_interceptor.c2
-rw-r--r--src/gns/plugin_rest_gns.c2
-rw-r--r--src/namecache/plugin_namecache_flat.c2
-rw-r--r--src/peerstore/plugin_peerstore_flat.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/gnunet-dns2gns.c b/src/gns/gnunet-dns2gns.c
index eb9996b36..1e88ef056 100644
--- a/src/gns/gnunet-dns2gns.c
+++ b/src/gns/gnunet-dns2gns.c
@@ -465,7 +465,7 @@ handle_request (struct GNUNET_NETWORK_Handle *lsock,
request->lookup = GNUNET_GNS_lookup_with_tld (gns,
packet->queries[0].name,
packet->queries[0].type,
- GNUNET_NO,
+ GNUNET_GNS_LO_DEFAULT,
&result_processor,
request);
}
diff --git a/src/gns/gnunet-service-gns_interceptor.c b/src/gns/gnunet-service-gns_interceptor.c
index 9d6636e84..19416a506 100644
--- a/src/gns/gnunet-service-gns_interceptor.c
+++ b/src/gns/gnunet-service-gns_interceptor.c
@@ -352,7 +352,7 @@ handle_dns_request (void *cls,
ilh->lookup = GNS_resolver_lookup (&zone,
p->queries[0].type,
p->queries[0].name,
- GNUNET_NO,
+ GNUNET_GNS_LO_DEFAULT,
MAX_RECURSION,
&reply_to_dns, ilh);
return;
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c
index 6ae753a07..81c2c974b 100644
--- a/src/gns/plugin_rest_gns.c
+++ b/src/gns/plugin_rest_gns.c
@@ -319,7 +319,7 @@ get_gns_cont (struct GNUNET_REST_RequestHandle *con_handle,
handle->gns_lookup = GNUNET_GNS_lookup_with_tld (handle->gns,
handle->name,
handle->record_type,
- GNUNET_NO,
+ GNUNET_GNS_LO_DEFAULT,
&handle_gns_response,
handle);
}
diff --git a/src/namecache/plugin_namecache_flat.c b/src/namecache/plugin_namecache_flat.c
index 91f53ce2b..24f4f2570 100644
--- a/src/namecache/plugin_namecache_flat.c
+++ b/src/namecache/plugin_namecache_flat.c
@@ -78,7 +78,7 @@ database_setup (struct Plugin *plugin)
char*line;
char*query;
char*block;
- size_t size;
+ uint64_t size;
struct FlatFileEntry *entry;
struct GNUNET_DISK_FileHandle *fh;
diff --git a/src/peerstore/plugin_peerstore_flat.c b/src/peerstore/plugin_peerstore_flat.c
index 06e6c0b77..5efe9dddc 100644
--- a/src/peerstore/plugin_peerstore_flat.c
+++ b/src/peerstore/plugin_peerstore_flat.c
@@ -345,7 +345,7 @@ database_setup (struct Plugin *plugin)
struct GNUNET_DISK_FileHandle *fh;
struct GNUNET_PEERSTORE_Record *entry;
struct GNUNET_HashCode hkey;
- size_t size;
+ uint64_t size;
char *buffer;
char *line;