Commit 1c3daccf1adffe03efc3e2edab677febbaabda25

Edward Thomson 2019-01-23T09:51:50

fuzzers: don't use deprecated types

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/fuzzers/objects_fuzzer.c b/fuzzers/objects_fuzzer.c
index a1001ed..1feff77 100644
--- a/fuzzers/objects_fuzzer.c
+++ b/fuzzers/objects_fuzzer.c
@@ -25,7 +25,7 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
 
 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
 {
-	const git_otype types[] = {
+	const git_object_t types[] = {
 		GIT_OBJECT_BLOB, GIT_OBJECT_TREE, GIT_OBJECT_COMMIT, GIT_OBJECT_TAG
 	};
 	git_object *object = NULL;