From 40427ae1340d1fac50d0ff81cb82c5dae62acb07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20=C5=A0kr=C3=A1bal?= Date: Fri, 19 Nov 2004 07:14:30 +0000 Subject: [PATCH] - retyped some returned values --- org.glite.lb.common/src/lb_plain_io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.glite.lb.common/src/lb_plain_io.c b/org.glite.lb.common/src/lb_plain_io.c index c2aa061..dba91c6 100644 --- a/org.glite.lb.common/src/lb_plain_io.c +++ b/org.glite.lb.common/src/lb_plain_io.c @@ -60,7 +60,7 @@ int edg_wll_plain_read( size_t outbufsz, struct timeval *to) { - size_t ct, toread = 0; + int ct, toread = 0; fd_set fds; struct timeval timeout, before, after; @@ -150,7 +150,7 @@ int edg_wll_plain_read_full( } while ( total < outbufsz ) { - size_t ct = edg_wll_plain_read(conn, outbuf+total, outbufsz-total, to); + int ct = edg_wll_plain_read(conn, outbuf+total, outbufsz-total, to); if ( ct < 0) return ct; total += ct; } @@ -165,7 +165,7 @@ int edg_wll_plain_write_full( struct timeval *to) { size_t written = 0; - ssize_t ct = -1; + int ct = -1; fd_set fds; struct timeval timeout, before, after; -- 1.8.2.3