summaryrefslogtreecommitdiff
path: root/src/blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.c')
-rw-r--r--src/blob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blob.c b/src/blob.c
index fa8a2aaf9..17f861a50 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -138,7 +138,7 @@ static int write_file_filtered(
int error;
git_buf tgt = GIT_BUF_INIT;
- error = git_filter_list_apply_to_file(&tgt, fl, NULL, full_path);
+ error = git_filter_list_apply_to_file((git_userbuf *)&tgt, fl, NULL, full_path);
/* Write the file to disk if it was properly filtered */
if (!error) {
@@ -434,7 +434,7 @@ static int git_blob__filter(
&fl, git_blob_owner(blob), blob, path,
GIT_FILTER_TO_WORKTREE, flags))) {
- error = git_filter_list_apply_to_blob(out, fl, blob);
+ error = git_filter_list_apply_to_blob((git_userbuf *)out, fl, blob);
git_filter_list_free(fl);
}