From a740c8320863b6fe56d318849d2f56b5be1870cb Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 8 May 2005 00:47:14 +0000 Subject: [PATCH] Macro fix, again --- servers/slapd/entry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5