]> git.sur5r.net Git - openldap/commitdiff
fix type specifier in format
authorPierangelo Masarati <ando@openldap.org>
Mon, 9 Jan 2006 21:27:45 +0000 (21:27 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 9 Jan 2006 21:27:45 +0000 (21:27 +0000)
clients/tools/common.c

index ba5b546b7184b6370fefb1ba8e3684eab47ff94c..86bd7efda5109e75153bfcf77362546937632b69 100644 (file)
@@ -1424,7 +1424,7 @@ print_paged_results( LDAP *ld, LDAPControl *ctrl )
 
                if ( estimate > 0 ) {
                        ptr += snprintf( ptr, sizeof( buf ) - ( ptr - buf ),
-                               "estimate=%lu", estimate );
+                               "estimate=%d", estimate );
                }
 
                if ( pr_cookie.bv_len > 0 ) {