From: Pierangelo Masarati Date: Sat, 24 Feb 2007 18:00:46 +0000 (+0000) Subject: fix type/format mismatch X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~646 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0f63112be8bb872d39595d6a9b1927ad24d764f;p=openldap fix type/format mismatch --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index c297650da2..8ad8e4774f 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -3805,7 +3805,7 @@ syncrepl_unparse( syncinfo_t *si, struct berval *bv ) ptr = buf; ptr += snprintf( ptr, WHATSLEFT, IDSTR "=%03ld " PROVIDERSTR "=%s", - si->si_rid, si->si_bindconf.sb_uri.bv_val ); + (long)si->si_rid, si->si_bindconf.sb_uri.bv_val ); if ( ptr - buf >= sizeof( buf ) ) return; if ( !BER_BVISNULL( &bc ) ) { if ( WHATSLEFT <= bc.bv_len ) {