X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client_common.c;h=330c9f7028b9b67fbddaad39ec4dd843a8ec4d8d;hp=a0128ad9b4508835caf4d11478b2e340b73118df;hb=1b0f42a95aa6447dcbb4ea801f67e6b63530291b;hpb=4b16f9ed84133d5c475eaeb887df6475ab0091bc diff --git a/client_common.c b/client_common.c index a0128ad9..330c9f70 100644 --- a/client_common.c +++ b/client_common.c @@ -141,7 +141,7 @@ void client_pre_select(struct sched *s, struct task *t) return; case CL_SENDING_STDIN: if (*pcd->in_loaded) { - PARA_INFO_LOG("loaded: %d\n", *pcd->in_loaded); + PARA_INFO_LOG("loaded: %zd\n", *pcd->in_loaded); para_fd_set(pcd->fd, &s->wfds, &s->max_fileno); pcd->check_w = 1; } else { @@ -278,7 +278,7 @@ void client_post_select(struct sched *s, struct task *t) pcd->status = CL_RECEIVING_SERVER_OUTPUT; return; case CL_SENDING_STDIN: /* FIXME: might block */ - PARA_INFO_LOG("loaded: %d\n", *pcd->in_loaded); + PARA_INFO_LOG("loaded: %zd\n", *pcd->in_loaded); t->ret = send_bin_buffer(pcd->fd, pcd->inbuf, *pcd->in_loaded); if (t->ret <= 0) { if (!t->ret)