fix definition of GOT_FILEIDX_F_STAGE_SHIFT
diff --git a/lib/fileindex.c b/lib/fileindex.c
index dbf735c..2e2def1 100644
--- a/lib/fileindex.c
+++ b/lib/fileindex.c
@@ -38,7 +38,7 @@
/* got_fileindex_entry flags */
#define GOT_FILEIDX_F_PATH_LEN 0x00000fff
#define GOT_FILEIDX_F_STAGE 0x0000f000
-#define GOT_FILEIDX_F_STAGE_SHIFT 24
+#define GOT_FILEIDX_F_STAGE_SHIFT 12
#define GOT_FILEIDX_F_NOT_FLUSHED 0x00010000
#define GOT_FILEIDX_F_NO_BLOB 0x00020000
#define GOT_FILEIDX_F_NO_COMMIT 0x00040000