From: Howard Chu Date: Sun, 8 May 2005 00:47:14 +0000 (+0000) Subject: Macro fix, again X-Git-Tag: OPENLDAP_AC_BP~701 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a740c8320863b6fe56d318849d2f56b5be1870cb;p=openldap Macro fix, again --- diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index a6e548b934..c44902d9a2 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -475,8 +475,8 @@ entry_id_cmp( const void *v_e1, const void *v_e2 ) return( e1->e_id < e2->e_id ? -1 : (e1->e_id > e2->e_id ? 1 : 0) ); } -#define entry_lenlen(l) ((l) < 0x80) ? 1 : ((l) < 0x100) ? 2 : \ - ((l) < 0x10000) ? 3 : ((l) < 0x1000000) ? 4 : 5 +#define entry_lenlen(l) (((l) < 0x80) ? 1 : ((l) < 0x100) ? 2 : \ + ((l) < 0x10000) ? 3 : ((l) < 0x1000000) ? 4 : 5) #if 0 /* This is like a ber_len */ static ber_len_t