X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv.c;h=31c18a31eab3c8c7d79b50f5d59840bfcf0e9ece;hp=aaccb06ac77fcd7bded8ffc46c300039227eabe1;hb=1e7af5fa9f6fc0e773ae50fa878b18a33ef58bea;hpb=2ed89c59f0efcd0a2763f47c7d3455663241e623 diff --git a/recv.c b/recv.c index aaccb06a..31c18a31 100644 --- a/recv.c +++ b/recv.c @@ -15,7 +15,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ -#include "gcc-compat.h" #include "para.h" #include "recv.h" @@ -105,13 +104,13 @@ recv: goto recv; } ret = write(STDOUT_FILENO, rn.buf, rn.loaded); - PARA_DEBUG_LOG("wrote %d/%d\n", ret, rn.loaded); + PARA_DEBUG_LOG("wrote %d/%zd\n", ret, rn.loaded); if (ret < 0) { ret = -E_WRITE_STDOUT; goto out; } if (ret != rn.loaded) { - PARA_INFO_LOG("short write %d/%d\n", ret, rn.loaded); + PARA_INFO_LOG("short write %d/%zd\n", ret, rn.loaded); memmove(rn.buf, rn.buf + ret, rn.loaded - ret); } rn.loaded -= ret;