summaryrefslogtreecommitdiff
path: root/ssh-upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-upload.c')
-rw-r--r--ssh-upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-upload.c b/ssh-upload.c
index 2f04572787..498d41e19b 100644
--- a/ssh-upload.c
+++ b/ssh-upload.c
@@ -86,7 +86,7 @@ static int serve_ref(int fd_in, int fd_out)
static void service(int fd_in, int fd_out) {
char type;
- int retval;
+ ssize_t retval;
do {
retval = xread(fd_in, &type, 1);
if (retval < 1) {