vendor/libgit2/src/reader.c in rugged-0.28.3.1 vs vendor/libgit2/src/reader.c in rugged-0.28.4

- old
+ new

@@ -5,11 +5,11 @@ * a Linking Exception. For full terms see the included COPYING file. */ #include "reader.h" -#include "fileops.h" +#include "futils.h" #include "blob.h" #include "git2/tree.h" #include "git2/blob.h" #include "git2/index.h" @@ -30,10 +30,10 @@ const char *filename) { tree_reader *reader = (tree_reader *)_reader; git_tree_entry *tree_entry = NULL; git_blob *blob = NULL; - git_off_t blobsize; + git_object_size_t blobsize; int error; if ((error = git_tree_entry_bypath(&tree_entry, reader->tree, filename)) < 0 || (error = git_blob_lookup(&blob, git_tree_owner(reader->tree), git_tree_entry_id(tree_entry))) < 0) goto done;