From: Schanzenbach, Martin Date: Wed, 6 May 2020 09:59:45 +0000 (+0200) Subject: more warnings X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d07fba1140760a4652e0acce0ad3cfd854da984e;p=oweals%2Fgnunet.git more warnings --- 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;