MDB_VL32 cleanup: MDB_env.mm_mapsize type
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 10 Dec 2016 16:17:28 +0000 (17:17 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 10 Dec 2016 16:17:28 +0000 (17:17 +0100)
libraries/liblmdb/mdb.c

index 7974261..f70e9f0 100644 (file)
@@ -1129,7 +1129,7 @@ typedef struct MDB_meta {
 #else
        void            *mm_address;            /**< address for fixed mapping */
 #endif
-       pgno_t          mm_mapsize;                     /**< size of mmap region */
+       mdb_size_t      mm_mapsize;                     /**< size of mmap region */
        MDB_db          mm_dbs[CORE_DBS];       /**< first is free space, 2nd is main db */
        /** The size of pages used in this DB */
 #define        mm_psize        mm_dbs[FREE_DBI].md_pad