X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-bundle.c;h=306ad29597dbf9002a44ba509c2e9d7a737b159d;hb=240ba7f235c9b946678bd6d34826fb73ea8fd90e;hp=d1635a0a6b009ecb6706084828abd0e3928f2b8d;hpb=46efd2d93ce39fd5c1a91f0a2f918f2d8bbfdf92;p=git.git diff --git a/builtin-bundle.c b/builtin-bundle.c index d1635a0a6..306ad2959 100644 --- a/builtin-bundle.c +++ b/builtin-bundle.c @@ -48,7 +48,7 @@ static int read_string(int fd, char *buffer, int size) { int i; for (i = 0; i < size - 1; i++) { - int count = xread(fd, buffer + i, 1); + ssize_t count = xread(fd, buffer + i, 1); if (count < 0) return error("Read error: %s", strerror(errno)); if (count == 0) {