vendor/libgit2/src/sortedcache.c in rugged-1.3.2.3 vs vendor/libgit2/src/sortedcache.c in rugged-1.4.2

- old
+ new

@@ -199,10 +199,10 @@ } /* if the file has changed, lock cache and load file contents into buf; * returns <0 on error, >0 if file has not changed */ -int git_sortedcache_lockandload(git_sortedcache *sc, git_buf *buf) +int git_sortedcache_lockandload(git_sortedcache *sc, git_str *buf) { int error, fd; struct stat st; if ((error = git_sortedcache_wlock(sc)) < 0)