From: Hallvard B Furuseth Date: Wed, 29 Jun 2011 18:09:31 +0000 (+0200) Subject: Fix P_INVALID signedness X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~168 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bd2ceeb74e9cc126b0076558176c1565cfea4fee;p=openldap Fix P_INVALID signedness --- 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))