From 2c06d0da0991ff2ea4d91b2b80bbb667df8ca9e1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 6 Mar 1999 17:11:35 +0000 Subject: [PATCH] Change (int) invalue == (int) LDAP_OPT_ON to invalue == LDAP_OPT_ON. --- libraries/libldap/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/options.c b/libraries/libldap/options.c index 7bc03b141d..a4b5d8ae2b 100644 --- a/libraries/libldap/options.c +++ b/libraries/libldap/options.c @@ -266,7 +266,7 @@ ldap_set_option( return 0; case LDAP_OPT_REFERRALS: - if((int) invalue == (int) LDAP_OPT_ON) { + if(invalue == LDAP_OPT_ON) { LDAP_BOOL_SET(lo, LDAP_BOOL_REFERRALS); } else { LDAP_BOOL_CLR(lo, LDAP_BOOL_REFERRALS); @@ -274,7 +274,7 @@ ldap_set_option( return 0; case LDAP_OPT_RESTART: - if((int) invalue == (int) LDAP_OPT_ON) { + if(invalue == LDAP_OPT_ON) { LDAP_BOOL_SET(lo, LDAP_BOOL_RESTART); } else { LDAP_BOOL_CLR(lo, LDAP_BOOL_RESTART); -- 2.39.5