Skip to content

Commit cc5da0a

Browse files
committed
examples: don't use deprecated types
1 parent 5524a46 commit cc5da0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/general.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static void object_database(git_repository *repo, git_oid *oid)
185185
int error;
186186
git_odb_object *obj;
187187
git_odb *odb;
188-
git_otype otype;
188+
git_object_t otype;
189189

190190
git_repository_odb(&odb, repo);
191191

@@ -416,7 +416,7 @@ static void commit_parsing(git_repository *repo)
416416
static void tag_parsing(git_repository *repo)
417417
{
418418
git_commit *commit;
419-
git_otype type;
419+
git_object_t type;
420420
git_tag *tag;
421421
git_oid oid;
422422
const char *name, *message;

0 commit comments

Comments
 (0)