]> git.sur5r.net Git - openldap/commitdiff
silence warning
authorPierangelo Masarati <ando@openldap.org>
Thu, 10 Nov 2005 00:33:19 +0000 (00:33 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 10 Nov 2005 00:33:19 +0000 (00:33 +0000)
servers/slapd/slapi/slapi_pblock.c

index fa99303b0afc4a13e65137a1a251c029cc5f38f8..ef51920fb816481baf77c760fd893efda3eb243f 100644 (file)
@@ -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: