Merge branch 'lt/in-core-index'
[gitweb.git] / builtin-fsck.c
index 8c564345f411baeb1fb91e68ebc2f3be42c2f8af..cc7524be80f51bca45ef8a205900cf50135bfc5d 100644 (file)
@@ -765,7 +765,7 @@ int cmd_fsck(int argc, const char **argv, const char *prefix)
                        struct blob *blob;
                        struct object *obj;
 
-                       mode = ntohl(active_cache[i]->ce_mode);
+                       mode = active_cache[i]->ce_mode;
                        if (S_ISGITLINK(mode))
                                continue;
                        blob = lookup_blob(active_cache[i]->sha1);