From: Stig Venaas Date: Sat, 22 Dec 2001 17:17:52 +0000 (+0000) Subject: Error in exclusion set macros X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~577 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9705dcfcd65c94d0a2fd7777e3ee7e236435ca85;p=openldap Error in exclusion set macros --- diff --git a/libraries/liblunicode/ucdata/ucgendat.c b/libraries/liblunicode/ucdata/ucgendat.c index 09107ac0b0..e7a9a563e7 100644 --- a/libraries/liblunicode/ucdata/ucgendat.c +++ b/libraries/liblunicode/ucdata/ucgendat.c @@ -112,8 +112,8 @@ static unsigned long decomps_size; /* * Composition exclusion table stuff. */ -#define COMPEX_SET(c) (compexs[(c) >> 15] |= (1 << ((c) & 31))) -#define COMPEX_TEST(c) (compexs[(c) >> 15] & (1 << ((c) & 31))) +#define COMPEX_SET(c) (compexs[(c) >> 5] |= (1 << ((c) & 31))) +#define COMPEX_TEST(c) (compexs[(c) >> 5] & (1 << ((c) & 31))) static unsigned long compexs[2048]; /*