X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=inline;f=ssh-upload.c;h=498d41e19b5756c82ef8e0ead779f40812f84227;hb=c0e9892637e8144f10f2c408e276a470520f3601;hp=2f045727875707198dd1763d75c9e8c7406e9042;hpb=5bac4a671907604b5fb4e24ff682d5b0e8431931;p=git.git diff --git a/ssh-upload.c b/ssh-upload.c index 2f0457278..498d41e19 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) {