Code

Fix signedness on return value from xread()
authorJohan Herland <johan@herland.net>
Tue, 15 May 2007 12:39:25 +0000 (14:39 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 16 May 2007 04:15:54 +0000 (21:15 -0700)
commit2924415f4fb081d9dde687092248c86ec0c40195
treee81cf399b019741668bf0fb422953fe8c4c00a3e
parentaf9b54bb2cb0e15780bf3e820b5f1ce399deb2c4
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>
pack-write.c