commit | 96a60a87098534b74e3b98e636ec65daea9823a7 | [log] [tgz] |
---|---|---|
author | Jonathan Nieder <jrnieder@gmail.com> | Thu Jul 05 22:21:09 2012 -0500 |
committer | Jonathan Nieder <jrnieder@gmail.com> | Thu Jul 05 23:26:53 2012 -0500 |
tree | c4d107606b5d8cc1fedded2be798c9ec02d46ebf | |
parent | c68038effed2f1031848330cca46e85fc79e3ab2 [diff] |
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>