summaryrefslogtreecommitdiff
path: root/prompt.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-07-06 03:21:09 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2012-07-06 04:26:53 (GMT)
commit96a60a87098534b74e3b98e636ec65daea9823a7 (patch)
treec4d107606b5d8cc1fedded2be798c9ec02d46ebf /prompt.h
parentc68038effed2f1031848330cca46e85fc79e3ab2 (diff)
downloadgit-96a60a87098534b74e3b98e636ec65daea9823a7.zip
git-96a60a87098534b74e3b98e636ec65daea9823a7.tar.gz
git-96a60a87098534b74e3b98e636ec65daea9823a7.tar.bz2
vcs-svn: suppress a signed/unsigned comparison warning
All callers pass a nonnegative delta_len, so the code is already safe. Add an assertion to ensure that remains so and add a cast to keep clang and gcc -Wsign-compare from worrying. Reported-by: David Barr <davidbarr@google.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'prompt.h')
0 files changed, 0 insertions, 0 deletions