]> git.sur5r.net Git - openldap/commitdiff
fix type/format mismatch
authorPierangelo Masarati <ando@openldap.org>
Sat, 24 Feb 2007 18:00:46 +0000 (18:00 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 24 Feb 2007 18:00:46 +0000 (18:00 +0000)
servers/slapd/syncrepl.c

index c297650da2b359b674029c58b8360ad131f86c93..8ad8e4774ffe74c5159ccb796673f4eff4416951 100644 (file)
@@ -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 ) {