From 6e32bcdeffc8468a9cb29013fc4131e648be0ea1 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 24 May 2011 22:01:07 +0000 Subject: [PATCH] use defines for size_t formating token --- webcit/tcp_sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index 6bbef24fb..9d670935d 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -332,7 +332,7 @@ int serv_read_binary(StrBuf *Ret, size_t total_len, StrBuf *Buf) return -1; } - serv_printf("READ %d|%d", bytes_read, total_len-bytes_read); + serv_printf("READ "SIZE_T_FMT"|"SIZE_T_FMT, bytes_read, total_len-bytes_read); if ( (rc = StrBuf_ServGetln(Buf) > 0) && (GetServerStatus(Buf, NULL) == 6) ) { if (rc < 0) -- 2.30.2