diff options
author | Jim Meyering <jim@meyering.net> | 2011-05-26 16:34:20 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-26 11:25:59 -0700 |
commit | 23c7df6bdd13e3d99ca09b6a7655747cc29ccc41 (patch) | |
tree | f154bdb57270bd7853c2e6757da3e47ca8cfbb5c /archive.h | |
parent | 93aa7bd595d37aec09b96da7ea9da89d9f659ebd (diff) | |
download | git-23c7df6bdd13e3d99ca09b6a7655747cc29ccc41.tar.gz git-23c7df6bdd13e3d99ca09b6a7655747cc29ccc41.tar.xz |
sha1_file: use the correct type (ssize_t, not size_t) for read-style function
Using an unsigned type, we would fail to detect a read error and then
proceed to try to write (size_t)-1 bytes.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
0 files changed, 0 insertions, 0 deletions