streaming: convert open_istream to use struct object_id
[gitweb.git] / sha1_file.c
index e4cb840661f799abb7a37e61bca269ee2443ba5c..cdcba4483b136cb7904c9a566affec00b181b741 100644 (file)
@@ -799,7 +799,7 @@ int check_object_signature(const struct object_id *oid, void *map,
                return oidcmp(oid, &real_oid) ? -1 : 0;
        }
 
-       st = open_istream(oid->hash, &obj_type, &size, NULL);
+       st = open_istream(oid, &obj_type, &size, NULL);
        if (!st)
                return -1;