Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
4608cd95
Commit
4608cd95
authored
Aug 29, 2012
by
Hallvard Furuseth
Browse files
libmdb: Fix P_INVALID when pgno_t != unsigned long
parent
3e3c7850
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libmdb/mdb.c
View file @
4608cd95
...
...
@@ -342,7 +342,7 @@ static txnid_t mdb_debug_start;
/** An invalid page number.
* Mainly used to denote an empty tree.
*/
#define P_INVALID (~
0UL
)
#define P_INVALID (~
(pgno_t)0
)
/** Test if a flag \b f is set in a flag word \b w. */
#define F_ISSET(w, f) (((w) & (f)) == (f))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment