From 90359d87baff67aca0f0222aae124321991f5219 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 19 Apr 2017 19:59:15 -0400 Subject: [PATCH] quiet win32 warnings --- src/ioc/rsrv/caservertask.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ioc/rsrv/caservertask.c b/src/ioc/rsrv/caservertask.c index ac2a325eb..9a032d25e 100644 --- a/src/ioc/rsrv/caservertask.c +++ b/src/ioc/rsrv/caservertask.c @@ -871,7 +871,7 @@ static void log_one_client (struct client *client, unsigned level) recv_delay = epicsTimeDiffInSeconds(¤t,&client->time_at_last_recv); printf ("\tTask Id = %p, Socket FD = %d\n", - (void *) client->tid, client->sock); + (void *) client->tid, (int)client->sock); printf( "\t%.2f secs since last send, %.2f secs since last receive\n", send_delay, recv_delay); @@ -1214,7 +1214,7 @@ void destroy_tcp_client ( struct client *client ) int status; if ( CASDEBUG > 0 ) { - errlogPrintf ( "CAS: Connection %d Terminated\n", client->sock ); + errlogPrintf ( "CAS: Connection %d Terminated\n", (int)client->sock ); } if ( client->evuser ) {