Merge branch 'maint'
[gitweb.git] / transport-helper.c
index 4e4754c32bd53f28f9335c2a4529f5804f3086f2..ba06b70cce6ecc5822fd86d2e3579be76dbeaa33 100644 (file)
@@ -973,7 +973,7 @@ static int udt_do_read(struct unidirectional_transfer *t)
  */
 static int udt_do_write(struct unidirectional_transfer *t)
 {
-       size_t bytes;
+       ssize_t bytes;
 
        if (t->bufuse == 0)
                return 0;       /* Nothing to write. */