Skip to content

Commit ae8820b

Browse files
committed
Follow-up to r1931389: Cast 'len' to uint (it's safe because we're in a branch
that alredy verified that 'len' is in boudries). * subversion/libsvn_subr/checksum_apr.c (sha1_update): Add cast. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1931403 13f79535-47bb-0310-9956-ffa450edef68
1 parent f48123e commit ae8820b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subversion/libsvn_subr/checksum_apr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ sha1_update(apr_sha1_ctx_t *ctx,
9595
unsigned int block;
9696

9797
if (len < UINT_MAX)
98-
block = len;
98+
block = (unsigned int)len;
9999
else
100100
block = UINT_MAX;
101101

0 commit comments

Comments
 (0)