From cbdaf8058fe3ccb8875da08cc178ff6c47ce1085 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 10 Nov 2005 00:33:19 +0000 Subject: [PATCH] silence warning --- servers/slapd/slapi/slapi_pblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5