more warnings
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Wed, 6 May 2020 09:59:45 +0000 (11:59 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Wed, 6 May 2020 09:59:45 +0000 (11:59 +0200)
src/gns/gnunet-dns2gns.c
src/gns/gnunet-service-gns_interceptor.c
src/gns/plugin_rest_gns.c
src/namecache/plugin_namecache_flat.c
src/peerstore/plugin_peerstore_flat.c

index eb9996b36427af595bcc1535478f889bab26e7a8..1e88ef056b6e435a02a0a14efca566833ccd603d 100644 (file)
@@ -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);
 }
index 9d6636e84e8ccb53f30654fbba535e2f643357e8..19416a5063f24bbf6fc8dfd8f5ef3f41c1307207 100644 (file)
@@ -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;
index 6ae753a0708e47b3ac5a01a1f6ae80fb7ed45aa2..81c2c974bede8281db8282c1b369ff572fc27b00 100644 (file)
@@ -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);
 }
index 91f53ce2b61a7e953084a037c6bdb7b2a9b108a1..24f4f2570017be6970cb59af897c1abaeb0abdc3 100644 (file)
@@ -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;
 
index 06e6c0b7734bfa6a5b8a288ac66c4278ba0fafd6..5efe9dddc09eee54aed2c18cfd77f29026a50a43 100644 (file)
@@ -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;