summaryrefslogtreecommitdiff
path: root/src/diff_generate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff_generate.h')
-rw-r--r--src/diff_generate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff_generate.h b/src/diff_generate.h
index 6e669a3d5..5186d552c 100644
--- a/src/diff_generate.h
+++ b/src/diff_generate.h
@@ -88,7 +88,7 @@ extern int git_diff__oid_for_file(
git_diff *diff,
const char *path,
uint16_t mode,
- git_off_t size);
+ git_object_size_t size);
extern int git_diff__oid_for_entry(
git_oid *out,
@@ -120,7 +120,7 @@ GIT_INLINE(int) git_diff_file__resolve_zero_size(
git_odb_free(odb);
if (!error)
- file->size = (git_off_t)len;
+ file->size = (git_object_size_t)len;
return error;
}