From bd2ceeb74e9cc126b0076558176c1565cfea4fee Mon Sep 17 00:00:00 2001 From: Hallvard B Furuseth Date: Wed, 29 Jun 2011 20:09:31 +0200 Subject: [PATCH] Fix P_INVALID signedness --- libraries/libmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index 935d37d694..f9831bb135 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -42,7 +42,7 @@ #define MDB_VERSION 1 #define MAXKEYSIZE 255 -#define P_INVALID (~0L) +#define P_INVALID (~0UL) #define F_ISSET(w, f) (((w) & (f)) == (f)) -- 2.39.5