author | Johan Herland <johan@herland.net> | |
Tue, 15 May 2007 12:39:25 +0000 (14:39 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 16 May 2007 04:15:54 +0000 (21:15 -0700) | ||
commit | 2924415f4fb081d9dde687092248c86ec0c40195 | |
tree | e81cf399b019741668bf0fb422953fe8c4c00a3e | tree | snapshot |
parent | af9b54bb2cb0e15780bf3e820b5f1ce399deb2c4 | commit | diff |
Fix signedness on return value from xread()
The return value from xread() is ssize_t.
Paolo Teti <paolo.teti@gmail.com> pointed out that in this case, the
signed return value was assigned to an unsigned type (size_t). This patch
fixes that.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The return value from xread() is ssize_t.
Paolo Teti <paolo.teti@gmail.com> pointed out that in this case, the
signed return value was assigned to an unsigned type (size_t). This patch
fixes that.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-write.c | diff | blob | history |