Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c0f0f65

Browse files
committed
fixup! patch application: apply binary patches
1 parent d198dd6 commit c0f0f65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/apply.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ static int apply_binary_delta(
257257
void *data;
258258
size_t data_len;
259259

260-
error = git_delta_apply(&data, &data_len, source, source_len,
261-
inflated.ptr, inflated.size);
260+
error = git_delta_apply(&data, &data_len, (void *)source, source_len,
261+
(void *)inflated.ptr, inflated.size);
262262

263263
out->ptr = data;
264264
out->size = data_len;

0 commit comments

Comments
 (0)