diff options
Diffstat (limited to 'tests/core/sortedcache.c')
-rw-r--r-- | tests/core/sortedcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/sortedcache.c b/tests/core/sortedcache.c index d5bbcea19..cb4e34efa 100644 --- a/tests/core/sortedcache.c +++ b/tests/core/sortedcache.c @@ -241,7 +241,7 @@ void test_core_sortedcache__in_memory(void) static void sortedcache_test_reload(git_sortedcache *sc) { int count = 0; - git_buf buf = GIT_BUF_INIT; + git_str buf = GIT_STR_INIT; char *scan, *after; sortedcache_test_struct *item; @@ -266,7 +266,7 @@ static void sortedcache_test_reload(git_sortedcache *sc) git_sortedcache_wunlock(sc); - git_buf_dispose(&buf); + git_str_dispose(&buf); } void test_core_sortedcache__on_disk(void) |