summaryrefslogtreecommitdiff
path: root/reachable.h
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2011-03-05 00:16:26 +0100
committerJunio C Hamano <gitster@pobox.com>2011-03-08 21:36:12 -0800
commit803dbdb9686f249e88fae8530b5306d6eea62c1b (patch)
tree82393f1d452d30a5e6cf2d4cc662c2ac3968f099 /reachable.h
parent07873dc5dd67398324278ff0d7627bb1a863ba89 (diff)
downloadgit-803dbdb9686f249e88fae8530b5306d6eea62c1b.tar.gz
transport-helper.c: fix check for (size_t < 0)
'bytes' is of type size_t which is unsigned thus can't be negative. But the assigned write() returns ssize_t, and -1 on error. For testing < 0, 'bytes' needs to be of a signed type. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reachable.h')
0 files changed, 0 insertions, 0 deletions