[vcs-svn/fast_export.c:211]: (warning) Using sizeof with a numeric constant as function argument might not be what you intended. Signed-off-by: David Barr <davidbarr@xxxxxxxxxx> --- vcs-svn/fast_export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c index 0b2b7b9..d06a81c 100644 --- a/vcs-svn/fast_export.c +++ b/vcs-svn/fast_export.c @@ -208,7 +208,7 @@ static long apply_delta(off_t len, struct line_buffer *input, die("cannot apply delta"); if (old_data) { /* Read the remainder of preimage and trailing newline. */ - assert(!signed_add_overflows(preimage.max_off, 1)); + assert(!signed_add_overflows(preimage.max_off, (off_t) 1)); preimage.max_off++; /* room for newline */ if (move_window(&preimage, preimage.max_off - 1, 1)) die("cannot seek to end of input"); -- 1.7.10.2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html