Commit e5e2fac8 by Edward Thomson

buffer: explicitly cast

Quiet down a warning from MSVC about how we're potentially losing data.
This is safe since we've explicitly tested it.
parent f4ebb2d4
......@@ -440,7 +440,7 @@ int git_buf_decode_base85(
acc += de;
cnt = (output_len < 4) ? output_len : 4;
cnt = (output_len < 4) ? (int)output_len : 4;
output_len -= cnt;
do {
acc = (acc << 8) | (acc >> 24);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment