From f9b94dcafa867c38dfaeb9b24f37b392d1ad80d8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 14 Jan 2015 13:55:34 +0100 Subject: [SERVER] Crank up warning levels of gcc and fix them all (mostly sign compare and some unused params) Also allow newline at end of alt-servers file without complaining about it not being a valid alt server definition. --- src/server/globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/globals.h') diff --git a/src/server/globals.h b/src/server/globals.h index 4b99e38..1edf44f 100644 --- a/src/server/globals.h +++ b/src/server/globals.h @@ -53,7 +53,7 @@ struct _dnbd3_connection dnbd3_host_t betterServer; // The better server int betterFd; // Active connection to better server, ready to use uint8_t *recvBuffer; // Buffer for receiving payload - int recvBufferLen; // Len of ^^ + uint32_t recvBufferLen; // Len of ^^ volatile bool shutdown; // signal this thread to stop, must only be set from uplink_shutdown() or cleanup in uplink_mainloop() int replicatedLastBlock; // bool telling if the last block has been replicated yet uint64_t replicationHandle; // Handle of pending replication request -- cgit v1.2.3-55-g7522