Quash a load of compile warnings

Kevin Lyda writes:
I enclose the following patch which removes all but three of the warnings.  i
don't have any non-linux systems handy to test a fix to the round() function.
but having it return a double should be fine.

It doesn't actually fix anything, it just shuts up -Wall, so it's certainly an
optional type of patch.
This commit is contained in:
kevin lyda
2006-04-14 17:48:43 +01:00
committed by Richard P. Curnow
parent 3a8f93792b
commit 2a30c56f03
10 changed files with 13 additions and 13 deletions

View File

@@ -184,7 +184,7 @@ read_from_socket(void *anything)
ReceiveBuffer message;
int message_length;
struct sockaddr_in where_from;
int from_length;
socklen_t from_length;
unsigned int flags = 0;
struct timeval now;
NTP_Remote_Address remote_addr;