From: Wilfried Goesgens Date: Tue, 24 May 2011 22:01:07 +0000 (+0000) Subject: use defines for size_t formating token X-Git-Tag: v7.87~17^2~4 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=6e32bcdeffc8468a9cb29013fc4131e648be0ea1;hp=fa3bb64774f75efebe886420878bbc9c2816fa71;p=citadel.git use defines for size_t formating token --- 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)