]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-mdb/idl.c
Tweak back-mdb integer types to match libmdb.
[openldap] / servers / slapd / back-mdb / idl.c
index 35c854ddb7cbc407744e7c253a966cf1abc6b983..4dbc2e5ba24adc0473f477d71059557bf2918b1c 100644 (file)
@@ -421,7 +421,7 @@ mdb_idl_insert_keys(
                memcpy(&lo, data.mv_data, sizeof(ID));
                if ( lo != 0 ) {
                        /* not a range, count the number of items */
-                       unsigned long count;
+                       size_t count;
                        rc = mdb_cursor_count( cursor, &count );
                        if ( rc != 0 ) {
                                err = "c_count";