diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-17 10:47:32 +0000 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-17 11:03:19 +0000 |
| commit | 83151018ef0228b53739cbc2bc785a673752c349 (patch) | |
| tree | 5e616319a7cf561021bf4baf2fb73e6b5dc9fbf7 /fuzzers/packfile_fuzzer.c | |
| parent | cd350852206481e984f7847a903de8d350ad7bf1 (diff) | |
| download | libgit2-83151018ef0228b53739cbc2bc785a673752c349.tar.gz | |
object_type: convert final internal users to new namesethomson/git_obj
Update some missed types that were continuing to use the old `GIT_OBJ`
names.
Diffstat (limited to 'fuzzers/packfile_fuzzer.c')
| -rw-r--r-- | fuzzers/packfile_fuzzer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzzers/packfile_fuzzer.c b/fuzzers/packfile_fuzzer.c index 6f453870b..e70c6c949 100644 --- a/fuzzers/packfile_fuzzer.c +++ b/fuzzers/packfile_fuzzer.c @@ -70,7 +70,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) } git_mempack_reset(mempack); - if (git_odb_write(&id, odb, base_obj, base_obj_len, GIT_OBJ_BLOB) < 0) { + if (git_odb_write(&id, odb, base_obj, base_obj_len, GIT_OBJECT_BLOB) < 0) { fprintf(stderr, "Failed to add an object to the odb\n"); abort(); } @@ -93,7 +93,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) goto cleanup; if (append_hash) { git_oid oid; - if (git_odb_hash(&oid, data, size, GIT_OBJ_BLOB) < 0) { + if (git_odb_hash(&oid, data, size, GIT_OBJECT_BLOB) < 0) { fprintf(stderr, "Failed to compute the SHA1 hash\n"); abort(); } |
