object: convert parse_object* to take struct object_id
[git/git.git] / fsck.c
diff --git a/fsck.c b/fsck.c
index ee5224a..90857e1 100644 (file)
--- a/fsck.c
+++ b/fsck.c
@@ -461,7 +461,7 @@ int fsck_walk(struct object *obj, void *data, struct fsck_options *options)
                return -1;
 
        if (obj->type == OBJ_NONE)
-               parse_object(obj->oid.hash);
+               parse_object(&obj->oid);
 
        switch (obj->type) {
        case OBJ_BLOB: