From: Pierangelo Masarati Date: Thu, 10 Nov 2005 00:33:19 +0000 (+0000) Subject: silence warning X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~50 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cbdaf8058fe3ccb8875da08cc178ff6c47ce1085;p=openldap silence warning --- diff --git a/servers/slapd/slapi/slapi_pblock.c b/servers/slapd/slapi/slapi_pblock.c index fa99303b0a..ef51920fb8 100644 --- a/servers/slapd/slapi/slapi_pblock.c +++ b/servers/slapd/slapi/slapi_pblock.c @@ -891,7 +891,7 @@ pblock_set( Slapi_PBlock *pb, int param, void *value ) case SLAPI_X_CONN_SSF: PBLOCK_ASSERT_CONN( pb ); PBLOCK_LOCK_CONN( pb ); - pb->pb_conn->c_ssf = (slap_ssf_t)value; + pb->pb_conn->c_ssf = (slap_ssf_t)(long)value; PBLOCK_UNLOCK_CONN( pb ); break; case SLAPI_X_CONN_SASL_CONTEXT: