summaryrefslogtreecommitdiff
path: root/examples/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tag.c')
-rw-r--r--examples/tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tag.c b/examples/tag.c
index 29a04c4e2..fa405b8de 100644
--- a/examples/tag.c
+++ b/examples/tag.c
@@ -135,10 +135,10 @@ static int each_tag(const char *name, tag_state *state)
"Failed to lookup rev", name);
switch (git_object_type(obj)) {
- case GIT_OBJ_TAG:
+ case GIT_OBJECT_TAG:
print_tag((git_tag *) obj, state);
break;
- case GIT_OBJ_COMMIT:
+ case GIT_OBJECT_COMMIT:
print_commit((git_commit *) obj, name, state);
break;
default: