fprintf( stderr, "PID=%ld - Add/Delete(%d): entry=\"%s\".\n",
- pid, maxloop, entry );
+ (long) pid, maxloop, entry );
for ( i = 0; i < maxloop; i++ ) {
}
- fprintf( stderr, " PID=%ld - Add/Delete done.\n", pid );
+ fprintf( stderr, " PID=%ld - Add/Delete done.\n", (long) pid );
ldap_unbind( ld );
}
fprintf( stderr, "PID=%ld - Search(%d): base=\"%s\", filter=\"%s\".\n",
- pid, maxloop, sbase, filter );
+ (long) pid, maxloop, sbase, filter );
for ( i = 0; i < maxloop; i++ ) {
LDAPMessage *res;
ldap_msgfree( res );
}
- fprintf( stderr, " PID=%ld - Search done.\n", pid );
+ fprintf( stderr, " PID=%ld - Search done.\n", (long) pid );
ldap_unbind( ld );
}